From: Pierre Joye Date: Wed, 27 Jul 2011 11:58:39 +0000 (+0000) Subject: - WS X-Git-Tag: php-5.4.0alpha3~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e0b627b021640f0ffe7041b973961c99e1bd72a;p=php - WS --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 5330c31477..0c9b616db0 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -706,7 +706,6 @@ static inline realpath_cache_bucket* realpath_cache_find(const char *path, int p } else { CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1 + r->realpath_len + 1; } - free(r); } else if (key == (*bucket)->key && path_len == (*bucket)->path_len && memcmp(path, (*bucket)->path, path_len) == 0) {