HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4213f04
)
Also free regular expressions.
author
Julian Andres Klode
<jak@debian.org>
Mon, 28 Jun 2010 15:38:08 +0000
(17:38 +0200)
committer
Julian Andres Klode
<jak@debian.org>
Mon, 28 Jun 2010 15:38:08 +0000
(17:38 +0200)
apt-pkg/versionmatch.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/versionmatch.cc
b/apt-pkg/versionmatch.cc
index
a269338
..
093180f
100644
(file)
--- 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;
}
}