git-svn: trunk@3986
Török Edvin authored on 2008/07/25 04:21:53... | ... |
@@ -513,6 +513,9 @@ void regex_list_done(struct regex_matcher* matcher) |
513 | 513 |
for(i=0;i<matcher->suffix_cnt;i++) { |
514 | 514 |
struct regex_list *r = matcher->suffix_regexes[i]; |
515 | 515 |
while(r) { |
516 |
+#ifdef CL_DEBUG |
|
517 |
+ free(r->pattern); |
|
518 |
+#endif |
|
516 | 519 |
cli_regfree(&r->preg); |
517 | 520 |
r = r->nxt; |
518 | 521 |
} |