summaryrefslogtreecommitdiff
path: root/src/regex/regfree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regfree.c')
-rw-r--r--src/regex/regfree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex/regfree.c b/src/regex/regfree.c
index 34cbb379..1bf6526e 100644
--- a/src/regex/regfree.c
+++ b/src/regex/regfree.c
@@ -1,8 +1,10 @@
#include "sys/types.h"
#include <regex.h>
+#include "stdlib.h"
void regfree(regex_t * preg)
{
+ free(preg);
}
/*