]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsrcrecords.cc
releasing package apt version 1.0.5
[apt.git] / apt-pkg / deb / debsrcrecords.cc
index b09588dd313fc115d49b4027298377b123bd20db..a444cbe4d59038c86660efa94cc0d110e5bc644f 100644 (file)
@@ -186,6 +186,7 @@ bool debSrcRecordParser::Files(std::vector<pkgSrcRecords::File> &List)
 /* */
 debSrcRecordParser::~debSrcRecordParser()
 {
-   delete[] Buffer;
+   // was allocated via strndup()
+   free(Buffer);
 }
                                                                        /*}}}*/