free the pixel data

This commit is contained in:
Dana Jansens 2003-03-19 08:09:09 +00:00
parent 59be9ae1d2
commit 4ee425c13e

View file

@ -210,6 +210,7 @@ void appearance_free(Appearance *a)
if (p->primary != NULL) color_free(p->primary);
if (p->secondary != NULL) color_free(p->secondary);
if (p->border_color != NULL) color_free(p->border_color);
if (p->pixel_data != NULL) g_free(l->surface.data.planar.pixel_data);
}
g_free(a);
}