summaryrefslogtreecommitdiff
path: root/ext/fileinfo/libmagic/funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fileinfo/libmagic/funcs.c')
-rw-r--r--ext/fileinfo/libmagic/funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fileinfo/libmagic/funcs.c b/ext/fileinfo/libmagic/funcs.c
index 3c9d387470..4dd3d1c51f 100644
--- a/ext/fileinfo/libmagic/funcs.c
+++ b/ext/fileinfo/libmagic/funcs.c
@@ -471,7 +471,7 @@ file_replace(struct magic_set *ms, const char *pat, const char *rep)
strncpy(ms->o.buf, res->val, res->len);
ms->o.buf[res->len] = '\0';
- STR_RELEASE(res);
+ zend_string_release(res);
out:
(void)setlocale(LC_CTYPE, "");