diff options
author | Marcus Boerger <helly@php.net> | 2008-08-12 14:56:52 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2008-08-12 14:56:52 +0000 |
commit | bfb468c2755ea441c64d6a5c81987edab741344b (patch) | |
tree | 7fb68dd636b77cf77482b45c0e371741f6b50fb3 | |
parent | 9f40f81543ba5985038b0abcd01dea8bd80450fb (diff) | |
download | php-git-bfb468c2755ea441c64d6a5c81987edab741344b.tar.gz |
- Fix http://bugs.php.net/bug.php?id=45613
-rw-r--r-- | ext/phar/func_interceptors.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/phar/func_interceptors.c b/ext/phar/func_interceptors.c index d3308b571a..93112e0ea9 100644 --- a/ext/phar/func_interceptors.c +++ b/ext/phar/func_interceptors.c @@ -950,7 +950,9 @@ found_it: } } } - efree(entry); + if (entry != filename) { + efree(entry); + } efree(arch); RETURN_FALSE; } |