summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-04-16 01:10:09 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-04-16 01:10:09 +0200
commit6070a3461841d4398d731fcb33792d55779111f1 (patch)
tree2b7217a5d542202040e8abdcf2eb5d52a32efd90 /cmdline/apt-cache.cc
parent949e033cb7c741b9eed459c0e93a89a92acb168d (diff)
fix a bunch of cppcheck warnings/errors based on a patch by
Niels Thykier, thanks! (Closes: #622805)
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 01e0d22e0..34f8a1a75 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1115,6 +1115,9 @@ bool Dotty(CommandLine &CmdL)
}
printf("}\n");
+ delete[] Show;
+ delete[] Flags;
+ delete[] ShapeMap;
return true;
}
/*}}}*/