]> git.saurik.com Git - apt.git/commit
use free() instead of delete[] in debSrcRecordParser::~debSrcRecordParser
authorMichael Vogt <mvo@debian.org>
Tue, 27 May 2014 21:42:10 +0000 (23:42 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 27 May 2014 21:42:10 +0000 (23:42 +0200)
commit7f48c4dfbb1f27c51044edde0692d7446ee74438
tree0628af9528406033160984ab7ff3fc0fdea4a99a
parentde6221c9d5f99a276628bcf45fb28537e46e7660
use free() instead of delete[] in debSrcRecordParser::~debSrcRecordParser

The Buffer was allocated using strndup() so we need to free it using
free() instead of delete[]
apt-pkg/deb/debsrcrecords.cc