mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 05:44:11 +01:00
fixed some memleaks (1 serious, 5 minor)
This commit is contained in:
@@ -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