base-manager: fix inhibition alloc/dealloc mixup
diff --git a/src/mm-base-manager.c b/src/mm-base-manager.c
index 62c586c..55382e3 100644
--- a/src/mm-base-manager.c
+++ b/src/mm-base-manager.c
@@ -1236,7 +1236,7 @@
 {
     InhibitDeviceContext *ctx;
 
-    ctx = g_new0 (InhibitDeviceContext, 1);
+    ctx = g_slice_new0 (InhibitDeviceContext);
     ctx->self = g_object_ref (manager);
     ctx->invocation = g_object_ref (invocation);
     ctx->uid = g_strdup (uid);