summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--agent/component.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/component.c b/agent/component.c
index 1286a8f..329016d 100644
--- a/agent/component.c
+++ b/agent/component.c
@@ -197,6 +197,8 @@ component_restart (Component *cmp)
g_free (icheck->username);
g_slice_free (IncomingCheck, icheck);
}
+ g_slist_free (cmp->incoming_checks);
+ cmp->incoming_checks = NULL;
/* note: component state managed by agent */