summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/phar/func_interceptors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/phar/func_interceptors.c b/ext/phar/func_interceptors.c
index 8a161b5684..d2a6bb0743 100644
--- a/ext/phar/func_interceptors.c
+++ b/ext/phar/func_interceptors.c
@@ -686,6 +686,7 @@ splitted:
int save_len;
notfound:
+ efree(entry);
save = PHAR_G(cwd);
save_len = PHAR_G(cwd_len);
/* this file is not in the current directory, use the original path */