Commit 220f2c91 authored by Youness Alaoui's avatar Youness Alaoui

avoid a memory leak in case of a restart

parent 1dc5ac66
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment