free the right pixel data yay!

This commit is contained in:
Dana Jansens 2003-03-19 08:09:24 +00:00
parent 4ee425c13e
commit 49a7001264

View file

@ -210,7 +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);
if (p->pixel_data != NULL) g_free(p->pixel_data);
}
g_free(a);
}