tray: plug leak of cache dir path
This commit is contained in:
committed by
Anonymous Maarten
parent
d058781f71
commit
14470755b7
@@ -307,6 +307,7 @@ SDL_Tray *SDL_CreateTray(SDL_Surface *icon, const char *tooltip)
|
|||||||
|
|
||||||
SDL_RegisterTray(tray);
|
SDL_RegisterTray(tray);
|
||||||
SDL_Gtk_ExitContext(gtk);
|
SDL_Gtk_ExitContext(gtk);
|
||||||
|
SDL_free(sdl_dir);
|
||||||
|
|
||||||
return tray;
|
return tray;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user