mad propz to jonaskoelker finding a memleak
This commit is contained in:
parent
4137779722
commit
f07b18cf3a
1 changed files with 2 additions and 0 deletions
|
@ -175,6 +175,8 @@ static gint area_cmp(gconstpointer p1, gconstpointer p2, gpointer data)
|
||||||
if (num[i] > num[most])
|
if (num[i] > num[most])
|
||||||
most = i;
|
most = i;
|
||||||
|
|
||||||
|
g_free(num);
|
||||||
|
|
||||||
a = screen_physical_area_monitor(most);
|
a = screen_physical_area_monitor(most);
|
||||||
if (RECT_CONTAINS(*a, a1->x, a1->y))
|
if (RECT_CONTAINS(*a, a1->x, a1->y))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue