diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2006-06-09 22:35:55 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2006-06-09 22:35:55 +0000 |
| commit | f07b18cf3a9d5be1445f6aac9f1380da374fa7f4 (patch) | |
| tree | 8ded01b7c8e98e402dcae7abad59cdbe5f6693e4 /openbox | |
| parent | 4137779722b11d17129f35d62d3646ff8651d10b (diff) | |
mad propz to jonaskoelker finding a memleak
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/place.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
