diff options
Diffstat (limited to 'src/sdl_fb.c')
-rw-r--r-- | src/sdl_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl_fb.c b/src/sdl_fb.c index 24395a1..6d30064 100644 --- a/src/sdl_fb.c +++ b/src/sdl_fb.c @@ -102,7 +102,7 @@ static int sdl_fb_setup(const til_settings_t *settings, til_setting_t **res_sett if (res_setup) { sdl_fb_setup_t *setup; - setup = til_setup_new(sizeof(*setup), (void(*)(til_setup_t *))free); + setup = til_setup_new(sizeof(*setup), NULL); if (!setup) return -ENOMEM; |