x: free bitmap_mono

This commit is contained in:
Mads Kiilerich 2012-03-16 16:42:45 +01:00
parent ee7189bf2a
commit 722260dd08

View File

@ -987,6 +987,12 @@ void xf_window_free(xfInfo* xfi)
xfi->primary = 0;
}
if (xfi->bitmap_mono)
{
XFreePixmap(xfi->display, xfi->bitmap_mono);
xfi->bitmap_mono = 0;
}
if (xfi->image)
{
xfi->image->data = NULL;