Diff between 72c3f5bf1ce676a92064a21b61fc56bfea6b3361 and 2ebb415b12c48a727b106b6f28452cc430996964
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 5d2bac3..b544b9a 100644
--- a/profiles/health/mcap.c
+++ b/profiles/health/mcap.c
@@ -1907,6 +1907,7 @@ gboolean mcap_create_mcl(struct mcap_instance *mi,
set_default_cb(mcl);
if (util_getrandom(&val, sizeof(val), 0) < 0) {
mcap_instance_unref(mcl->mi);
+ g_free(mcl->cb);
g_free(mcl);
return FALSE;
}