]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/cmndline.h
fix resource leak (thanks coverity)
[apt.git] / apt-pkg / contrib / cmndline.h
index e28071e81959fb04b3f4562d2740835defe7a229..9f505fd410547edc8fc2678872a2caa4dfe08e64 100644 (file)
 #ifndef PKGLIB_CMNDLINE_H
 #define PKGLIB_CMNDLINE_H
 
-
-
+#ifndef APT_8_CLEANER_HEADERS
 #include <apt-pkg/configuration.h>
+#endif
+
+class Configuration;
 
 class CommandLine
 {
@@ -60,6 +62,7 @@ class CommandLine
    Configuration *Conf;
    bool HandleOpt(int &I,int argc,const char *argv[],
                  const char *&Opt,Args *A,bool PreceedeMatch = false);
+   void static SaveInConfig(unsigned int const &argc, char const * const * const argv);
 
    public: