]> git.saurik.com Git - apt.git/commit - test/libapt/sourcelist_test.cc
fix memory leaks reported by -fsanitize
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 18 Jun 2015 15:33:15 +0000 (17:33 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 10 Aug 2015 15:25:25 +0000 (17:25 +0200)
commit3d8232bf97ce11818fb07813a71136484ea1a44a
treec7e1e3885e952f7ab8171e1cf4b425ddccb5606f
parentc3392a9fccc04129816057b1184c651171034376
fix memory leaks reported by -fsanitize

Various small leaks here and there. Nothing particularily big, but still
good to fix. Found by the sanitizers while running our testcases.

Reported-By: gcc -fsanitize
Git-Dch: Ignore
26 files changed:
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
apt-pkg/acquire-worker.cc
apt-pkg/cachefile.cc
apt-pkg/contrib/cdromutl.cc
apt-pkg/contrib/gpgv.cc
apt-pkg/deb/debmetaindex.cc
apt-pkg/deb/debrecords.cc
apt-pkg/deb/dpkgpm.cc
apt-pkg/indexrecords.cc
apt-pkg/tagfile.cc
apt-pkg/tagfile.h
apt-private/private-cacheset.h
apt-private/private-output.cc
buildlib/environment.mak.in
cmdline/apt-cache.cc
cmdline/apt-get.cc
ftparchive/apt-ftparchive.cc
ftparchive/cachedb.cc
ftparchive/writer.cc
ftparchive/writer.h
test/integration/framework
test/libapt/cdrom_test.cc
test/libapt/file-helpers.cc
test/libapt/file-helpers.h
test/libapt/sourcelist_test.cc