]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/versionmatch.cc
* Swedish translation update. Closes: #592366
[apt.git] / apt-pkg / versionmatch.cc
index a269338d6c86e116f4a8b9510bd0f18a78b5bbe4..093180f9b78e2f9d9397eed1e39b3e191fa52626 100644 (file)
@@ -188,6 +188,7 @@ bool pkgVersionMatch::ExpressionMatches(const char *pattern, const char *string)
            res = true;
         }
         free(regex);
+        regfree(&preg);
         return res;
       }
    }