From: Michael Schroeder Date: Tue, 3 Aug 2010 13:31:42 +0000 (+0200) Subject: - fix mem leak X-Git-Tag: BASE-SuSE-Code-12_1-Branch~158^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5df4a8321a9dc3b917a304be3115230ce39fd2d;p=platform%2Fupstream%2Flibsolv.git - fix mem leak --- diff --git a/src/pool.c b/src/pool.c index 7af2fce..dade60a 100644 --- a/src/pool.c +++ b/src/pool.c @@ -637,6 +637,7 @@ pool_addrelproviders(Pool *pool, Id d) if (wp) { /* all solvables match, no need to create a new list */ + queue_free(&plist); pool->whatprovides_rel[d] = wp; return wp; }