X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/4213f040ac8464d8826b64746c49c21c53a1ab12..8d3489abd90a64715b92976a7c60b42a386a4c5c:/apt-pkg/versionmatch.cc?ds=inline diff --git a/apt-pkg/versionmatch.cc b/apt-pkg/versionmatch.cc index a269338d6..093180f9b 100644 --- a/apt-pkg/versionmatch.cc +++ b/apt-pkg/versionmatch.cc @@ -188,6 +188,7 @@ bool pkgVersionMatch::ExpressionMatches(const char *pattern, const char *string) res = true; } free(regex); + regfree(&preg); return res; } }