summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-13 23:28:13 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-13 23:28:13 -0700
commit118404d46165f92d74ac2ee47eddfa4e8fa3c87f (patch)
treed32f3389dd9513f39a20f2d398fe44d20034f7bd /src
parent8d55a9c9512465096f9ecaa4096baa379c6c8bfa (diff)
sdl_fb: plug title leak
trivial fix of a trivial leak on teardown
Diffstat (limited to 'src')
-rw-r--r--src/sdl_fb.c2
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);
}
© All Rights Reserved