chiark / gitweb /
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 6913ff4..46b1876 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++)