Diff between 5475aba84edcafe5f7d2043262a780312ceef27a and d79e429a9fc3c37b3a25fcde474c242d8b094bcc
Changed Files
| File | Additions | Deletions | Status |
| profiles/health/mcap.c | +1 | -0 | modified |
Full Patch
diff --git a/profiles/health/mcap.c b/profiles/health/mcap.c
index b544b9a..7eceaa8 100644
--- a/profiles/health/mcap.c
+++ b/profiles/health/mcap.c
@@ -2052,6 +2052,7 @@ static void connect_mcl_event_cb(GIOChannel *chan, GError *gerr,
set_default_cb(mcl);
if (util_getrandom(&val, sizeof(val), 0) < 0) {
mcap_instance_unref(mcl->mi);
+ g_free(mcl->cb);
g_free(mcl);
goto drop;
}