fix a small memory leak in transaction_order()
authorAles Kozumplik <akozumpl@redhat.com>
Wed, 7 Mar 2012 12:56:38 +0000 (13:56 +0100)
committerAles Kozumplik <akozumpl@redhat.com>
Wed, 7 Mar 2012 13:37:17 +0000 (14:37 +0100)
od.cycles and od.cyclesdata left to rot.

src/transaction.c

index d0db631..e1c0d2f 100644 (file)
@@ -1882,6 +1882,8 @@ printf("free %s [%d]\n", pool_solvid2str(pool, te2->p), temedianr[od.invedgedata
       solv_free(od.tes);
       solv_free(od.invedgedata);
     }
+  queue_free(&od.cycles);
+  queue_free(&od.cyclesdata);
 }