Diff between e1ec45678ec220e11408ef8f7203994e16a3dca8 and 9942e6a50dfa326ec4036bedaf2eaa89d6c7f1cd

Changed Files

File Additions Deletions Status
health/hdp.c +2 -2 modified

Full Patch

diff --git a/health/hdp.c b/health/hdp.c
index 490a5f8..acd35e4 100644
--- a/health/hdp.c
+++ b/health/hdp.c
@@ -1783,8 +1783,8 @@ fail:
 	/* Send abort request because remote side is now in PENDING */
 	/* state. Then we have to delete it because we couldn't */
 	/* register the HealthChannel interface */
-	if (!mcap_mdl_abort(mdl, abort_and_del_mdl_cb, mcap_mdl_ref(mdl), NULL,
-								&gerr)) {
+	if (!mcap_mdl_abort(mdl, abort_and_del_mdl_cb, mcap_mdl_ref(mdl),
+				(GDestroyNotify) mcap_mdl_unref, &gerr)) {
 		error("%s", gerr->message);
 		g_error_free(gerr);
 		mcap_mdl_unref(mdl);