mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-20 06:21:09 +00:00
Fixed memory leak looking up pen tool names
This commit is contained in:
@@ -85,6 +85,7 @@ static bool X11_XInput2PenIsEraser(SDL_VideoDevice *_this, int deviceid, char *d
|
||||
result = true;
|
||||
}
|
||||
X11_XFree(tooltype_name_info);
|
||||
X11_XFree(tooltype_name);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user