diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-13 23:28:13 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-13 23:28:13 -0700 |
commit | 118404d46165f92d74ac2ee47eddfa4e8fa3c87f (patch) | |
tree | d32f3389dd9513f39a20f2d398fe44d20034f7bd | |
parent | 8d55a9c9512465096f9ecaa4096baa379c6c8bfa (diff) |
sdl_fb: plug title leak
trivial fix of a trivial leak on teardown
-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 16609f8..69d50c4 100644 --- a/src/sdl_fb.c +++ b/src/sdl_fb.c @@ -120,7 +120,7 @@ static void sdl_fb_shutdown(til_fb_t *fb, void *context) SDL_FreeSurface(p->surface); free(p); } - + free((void *)c->title); SDL_Quit(); free(c); } |