mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 03:02:30 +02:00
fixed some memleaks (1 serious, 5 minor)
This commit is contained in:
1 parent
1cd1f16c3c
commit
efb0090f8c
3 files changed
+14
-6
No files matched your search
@@ -1041,6 +1041,7 @@ RConvertImageMask(RContext *context, RImage *image, Pixmap *pixmap,
|
||||
RPutXImage(context, *mask, gc, ximg, 0, 0, 0, 0,
|
||||
image->width, image->height);
|
||||
RDestroyXImage(context, ximg);
|
||||
XFreeGC(context->dpy, gc);
|
||||
|
||||
return True;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user