]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
mad propz to jonaskoelker finding a memleak
[chaz/openbox] / 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.019969 seconds and 4 git commands to generate.