summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-06-30 14:11:31 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-06-30 14:11:31 +0200
commit7a9f09bd66d51b92bb68f07e7fbc111df6206c93 (patch)
treeb3e2a019b49b4a095e8c9f6b6423e57a5a388506 /cmdline/apt-get.cc
parent6ae07b82316f846bc8d45f77ce75a4f8f387d6a2 (diff)
merged r1811..1815 from lp:~donkult/apt/experimental
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 93b3a83dc..f5642c04d 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -111,6 +111,9 @@ class CacheFile : public pkgCacheFile
return Open(true);
}
CacheFile() : List(0) {};
+ ~CacheFile() {
+ delete[] List;
+ }
};
/*}}}*/