aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libqmi-glib/qmi-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libqmi-glib/qmi-device.c b/src/libqmi-glib/qmi-device.c
index ff6a1d7..a3dee23 100644
--- a/src/libqmi-glib/qmi-device.c
+++ b/src/libqmi-glib/qmi-device.c
@@ -950,7 +950,7 @@ build_client_object (AllocateClientContext *ctx)
/* Client created and registered, complete successfully */
g_simple_async_result_set_op_res_gpointer (ctx->result,
client,
- (GDestroyNotify)g_object_unref);
+ g_object_unref);
allocate_client_context_complete_and_free (ctx);
}