summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/extstr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/extstr.c b/src/common/extstr.c
index 87d0b13..8249515 100644
--- a/src/common/extstr.c
+++ b/src/common/extstr.c
@@ -176,6 +176,8 @@ char *strrpl(char *haystack, const char *needle1, const char *needle2)
}
+ regfree(&preg);
+
return haystack;
}
@@ -267,6 +269,8 @@ char *escape_crlf(char *input)
}
+ regfree(&preg);
+
return input;
}