diff options
Diffstat (limited to 'node-startup-controller/target-startup-monitor.c')
-rw-r--r-- | node-startup-controller/target-startup-monitor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node-startup-controller/target-startup-monitor.c b/node-startup-controller/target-startup-monitor.c index 4a425cf..33cf463 100644 --- a/node-startup-controller/target-startup-monitor.c +++ b/node-startup-controller/target-startup-monitor.c @@ -215,7 +215,9 @@ target_startup_monitor_finalize (GObject *object) 0, 0, NULL, NULL, monitor); g_object_unref (lp->data); } - g_list_free (lp->data); + + /* release the list of systemd units */ + g_list_free (monitor->units); /* release the mapping of systemd targets to node states */ g_hash_table_destroy (monitor->targets_to_states); |