]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/moveresizeto.c
using g_slice_new() instead of g_new() part 1
[chaz/openbox] / openbox / actions / moveresizeto.c
index f0472797d07e088501eb26cd85457bc63d0b00d6..68b4c0b2a9c579ca78e1b03987fd08dc714b058a 100644 (file)
@@ -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;
This page took 0.020119 seconds and 4 git commands to generate.