- fix mem leak
authorMichael Schroeder <mls@suse.de>
Tue, 3 Aug 2010 13:31:42 +0000 (15:31 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 3 Aug 2010 13:31:42 +0000 (15:31 +0200)
src/pool.c

index 7af2fcefcc1801aef39ec4cfc3db6df18c8e03b9..dade60a3194e0db21f633c8a14838e9889d5b6b4 100644 (file)
@@ -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;
        }