Fixed memory leak looking up pen tool names
This commit is contained in:
1 parent
2cd2834dfe
commit
8ba8cca69b
1 file changed
+1
@@ -85,6 +85,7 @@ static bool X11_XInput2PenIsEraser(SDL_VideoDevice *_this, int deviceid, char *d
|
|||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
X11_XFree(tooltype_name_info);
|
X11_XFree(tooltype_name_info);
|
||||||
|
X11_XFree(tooltype_name);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user