]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsystem.cc
add missing "free(buffer) for allocated buffer
[apt.git] / apt-pkg / deb / debsystem.cc
index 080af5659d778ed61ce932df3eb0680c59e0fb55..7ed6936c3395f570e66958145524d2599242b892 100644 (file)
@@ -27,6 +27,8 @@
 #include <apti18n.h>
                                                                        /*}}}*/
 
+using std::string;
+
 debSystem debSys;
 
 class debSystemPrivate {
@@ -219,7 +221,7 @@ signed debSystem::Score(Configuration const &Cnf)
 // System::AddStatusFiles - Register the status files                  /*{{{*/
 // ---------------------------------------------------------------------
 /* */
-bool debSystem::AddStatusFiles(vector<pkgIndexFile *> &List)
+bool debSystem::AddStatusFiles(std::vector<pkgIndexFile *> &List)
 {
    if (d->StatusFile == 0)
       d->StatusFile = new debStatusIndex(_config->FindFile("Dir::State::status"));