- plug a largish memory leak in repomd handler
authorPanu Matilainen <pmatilai@turre.koti.laiskiainen.org>
Fri, 2 Mar 2007 22:49:41 +0000 (00:49 +0200)
committerPanu Matilainen <pmatilai@turre.koti.laiskiainen.org>
Fri, 2 Mar 2007 22:49:41 +0000 (00:49 +0200)
apt-pkg/rpm/rpmhandler.cc

index 114f6e5..f280b76 100644 (file)
@@ -1252,6 +1252,7 @@ bool RPMRepomdHandler::PRCO(unsigned int Type, vector<Dependency*> &Deps)
         }
       }
       bool res = PutDep((char*)depname, depver.c_str(), RpmOp, Type, Deps);
+      xmlFree(depname);
    }
    return true;
 }