Browse Source

Also free regular expressions.

tags/debian/0.8.0
Julian Andres Klode 11 years ago
parent
commit
cec9f4f4bb
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      apt-pkg/versionmatch.cc

+ 1
- 0
apt-pkg/versionmatch.cc View File

@@ -188,6 +188,7 @@ bool pkgVersionMatch::ExpressionMatches(const char *pattern, const char *string)
res = true;
}
free(regex);
regfree(&preg);
return res;
}
}


Loading…
Cancel
Save