]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cachefilter.cc
merged r1970 lp:~vorlon/apt/lp.968828
[apt.git] / apt-pkg / cachefilter.cc
index 210a9a9ab8f2eac5047500daabe5c31aedc55bf8..9ec3fa699ba34d9e45a645dab5bb3b88823724a6 100644 (file)
@@ -18,7 +18,7 @@
                                                                        /*}}}*/
 namespace APT {
 namespace CacheFilter {
-PackageNameMatchesRegEx::PackageNameMatchesRegEx(std::string const &Pattern) {/*{{{*/
+PackageNameMatchesRegEx::PackageNameMatchesRegEx(std::string const &Pattern) : d(NULL) {/*{{{*/
        pattern = new regex_t;
        int const Res = regcomp(pattern, Pattern.c_str(), REG_EXTENDED | REG_ICASE | REG_NOSUB);
        if (Res == 0)