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 d0db631b95414cca22d4dcb366005a79d6b1dcf5..e1c0d2f091877b589d3b76cc4d1bb8210555e75c 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);
 }