- 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 7af2fce..dade60a 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;
        }