Files
perl-Text-Scan/Text-Scan-0.31.diff

12 lines
329 B
Diff

--- Text-Scan-0.31/Scan.xs.orig 2010-04-15 21:44:27.000000000 +0200
+++ Text-Scan-0.31/Scan.xs 2010-09-13 13:12:38.994283000 +0200
@@ -57,7 +57,7 @@ int _find_match(fsm this, int matchlen,
-_malloc(fsm m) {
+void _malloc(fsm m) {
av_clear(m->found_keys);
av_clear(m->found_offsets);
av_clear(m->found_vals);