]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cache.cc
merged from debian
[apt.git] / cmdline / apt-cache.cc
index 0e950310be80214cc0b5f40392e2884604b4d149..f3bbb9cf35bea0851bd833cf93e550d8664042e2 100644 (file)
@@ -929,7 +929,11 @@ bool XVcg(CommandLine &CmdL)
                Shapes[ShapeMap[Pkg->ID]]);
       
    }
-   
+
+   delete[] Show;
+   delete[] Flags;
+   delete[] ShapeMap;
+
    printf("}\n");
    return true;
 }
@@ -1269,7 +1273,9 @@ bool DisplayRecord(pkgCache::VerIterator V)
    return true;
 }
                                                                        /*}}}*/
-
+// Search - Perform a search                                           /*{{{*/
+// ---------------------------------------------------------------------
+/* This searches the package names and package descriptions for a pattern */
 struct ExDescFile
 {
    pkgCache::DescFile *Df;