diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-02-12 13:44:10 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-02-12 13:44:10 -0500 |
| commit | 1d57f7b08590255e57dd5931a1993507b4f116c2 (patch) | |
| tree | dba966b4f8a58a21c37f73e47c692495e1a4448a /openbox/resist.c | |
| parent | 98c86118ca941d71c0c511c865d5913814012aed (diff) | |
using g_slice_new() instead of g_new() part 1
Diffstat (limited to 'openbox/resist.c')
| -rw-r--r-- | openbox/resist.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |
