X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fresist.c;h=8df7ceed641ec06c5b978b460f5fe2965b4541a6;hb=1d57f7b08590255e57dd5931a1993507b4f116c2;hp=dc4e2d7051dea248fa92d243405b2b7c3d2ddfe8;hpb=98c86118ca941d71c0c511c865d5913814012aed;p=chaz%2Fopenbox diff --git a/openbox/resist.c b/openbox/resist.c index dc4e2d70..8df7ceed 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -202,7 +202,7 @@ void resist_move_monitors(ObClient *c, gint resist, gint *x, gint *y) else if (cb <= pb && b > pb && b < pb + resist) *y = pb - h + 1; - g_free(area); + g_slice_free(Rect, area); g_free(parea); } @@ -414,7 +414,7 @@ void resist_size_monitors(ObClient *c, gint resist, gint *w, gint *h, break; } - g_free(area); + g_slice_free(Rect, area); g_free(parea); } }