From f07b18cf3a9d5be1445f6aac9f1380da374fa7f4 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 9 Jun 2006 22:35:55 +0000 Subject: [PATCH] mad propz to jonaskoelker finding a memleak --- openbox/place.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.45.2