From 1d57f7b08590255e57dd5931a1993507b4f116c2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 12 Feb 2010 13:44:10 -0500 Subject: using g_slice_new() instead of g_new() part 1 --- openbox/actions/moveresizeto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/actions') diff --git a/openbox/actions/moveresizeto.c b/openbox/actions/moveresizeto.c index f0472797..68b4c0b2 100644 --- a/openbox/actions/moveresizeto.c +++ b/openbox/actions/moveresizeto.c @@ -174,8 +174,8 @@ static gboolean run_func(ObActionsData *data, gpointer options) client_configure(c, x, y, w, h, TRUE, TRUE, FALSE); actions_client_move(data, FALSE); - g_free(area); - g_free(carea); + g_slice_free(Rect, area); + g_slice_free(Rect, carea); } return FALSE; -- cgit v1.2.3