]> Dogcows Code - chaz/openbox/commitdiff
mad propz to jonaskoelker finding a memleak
authorMikael Magnusson <mikachu@comhem.se>
Fri, 9 Jun 2006 22:35:55 +0000 (22:35 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Fri, 9 Jun 2006 22:35:55 +0000 (22:35 +0000)
openbox/place.c

index 76aa38773175575f7703909b0eff7a33c23a1d0d..95763d06341ea57c5c21f780183867c5dfd2f003 100644 (file)
@@ -175,6 +175,8 @@ static gint area_cmp(gconstpointer p1, gconstpointer p2, gpointer data)
             if (num[i] > num[most])
                 most = i;
 
+        g_free(num);
+
         a = screen_physical_area_monitor(most);
         if (RECT_CONTAINS(*a, a1->x, a1->y))
             return -1;
This page took 0.026421 seconds and 4 git commands to generate.