fix a bunch of cppcheck warnings/errors based on a patch by
[ntk/apt.git] / cmdline / apt-cache.cc
index 01e0d22..34f8a1a 100644 (file)
@@ -1115,6 +1115,9 @@ bool Dotty(CommandLine &CmdL)
    }
    
    printf("}\n");
+   delete[] Show;
+   delete[] Flags;
+   delete[] ShapeMap;
    return true;
 }
                                                                        /*}}}*/