]> err.no Git - systemd/commitdiff
manager: fix minor memory leak -- free cleanup queue on exit
authorLennart Poettering <lennart@poettering.net>
Fri, 14 May 2010 00:10:33 +0000 (02:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 May 2010 00:10:33 +0000 (02:10 +0200)
manager.c

index 6913ff400db9dee435779b76fc5e5e6892781f28..46b187658d3534cc52892391e097b2ad6a485f40 100644 (file)
--- a/manager.c
+++ b/manager.c
@@ -521,6 +521,7 @@ void manager_free(Manager *m) {
 
         assert(m);
 
+        manager_dispatch_cleanup_queue(m);
         manager_clear_jobs_and_units(m);
 
         for (c = 0; c < _UNIT_TYPE_MAX; c++)