summaryrefslogtreecommitdiff
path: root/src/sp_pcre_compat.h
diff options
context:
space:
mode:
authorjvoisin2021-05-08 17:14:46 +0200
committerjvoisin2021-05-08 17:14:46 +0200
commit194b0bc9f0a4699854ea314ffa23e59f8082ddae (patch)
treee4ff10b44a831bac57ebad21abef1258a5423020 /src/sp_pcre_compat.h
parentad623f1d78151dfe2eaee85e93ed1058be1c7f91 (diff)
Remove some memory-leaks
Diffstat (limited to 'src/sp_pcre_compat.h')
-rw-r--r--src/sp_pcre_compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp_pcre_compat.h b/src/sp_pcre_compat.h
index 14c33b2..725004d 100644
--- a/src/sp_pcre_compat.h
+++ b/src/sp_pcre_compat.h
@@ -17,6 +17,7 @@
17#endif 17#endif
18 18
19sp_pcre* sp_pcre_compile(const char* str); 19sp_pcre* sp_pcre_compile(const char* str);
20void sp_pcre_free(sp_pcre* regexp);
20#define sp_is_regexp_matching_zend(regexp, zstr) \ 21#define sp_is_regexp_matching_zend(regexp, zstr) \
21 sp_is_regexp_matching_len(regexp, ZSTR_VAL(zstr), ZSTR_LEN(zstr)) 22 sp_is_regexp_matching_len(regexp, ZSTR_VAL(zstr), ZSTR_LEN(zstr))
22#define sp_is_regexp_matching(regexp, str) \ 23#define sp_is_regexp_matching(regexp, str) \