]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
put the comment where it belongs
[chaz/openbox] / render / render.c
index b048bcecd0448ae77372a042bc06220757811c39..13257910d08368d16bd03a1f381935d59a2f0852 100644 (file)
@@ -192,8 +192,7 @@ Appearance *appearance_copy(Appearance *orig)
     break;
     }
     copy->textures = orig->textures;
-    copy->texture = g_memdup(orig->texture,
-                             orig->textures * sizeof(Texture));
+    copy->texture = g_memdup(orig->texture, orig->textures * sizeof(Texture));
     copy->pixmap = None;
     copy->xftdraw = NULL;
     return copy;
@@ -211,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(p->pixel_data);
     }
     g_free(a);
 }
This page took 0.020984 seconds and 4 git commands to generate.