From: Mikael Magnusson Date: Fri, 9 Jun 2006 22:35:55 +0000 (+0000) Subject: mad propz to jonaskoelker finding a memleak X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=f07b18cf3a9d5be1445f6aac9f1380da374fa7f4;p=chaz%2Fopenbox mad propz to jonaskoelker finding a memleak --- diff --git a/openbox/place.c b/openbox/place.c index 76aa3877..95763d06 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -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;