diff options
author | Anatol Belski <ab@php.net> | 2013-10-17 10:40:43 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-10-17 10:40:43 +0200 |
commit | cf6ab0e915f95f01a8db1ce7daf70ed36cf49c66 (patch) | |
tree | c4fd681e0b62ad67d2b2ef9101c5e59cae8f0bc2 /main/streams/plain_wrapper.c | |
parent | e30b2aae5ad93405eee19bca6125ea872f409c82 (diff) | |
download | php-git-cf6ab0e915f95f01a8db1ce7daf70ed36cf49c66.tar.gz |
applied and fixed the original patch
initial work on the patch import done
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r-- | main/streams/plain_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 949b827679..4dbf6889d7 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -1436,7 +1436,7 @@ not_relative_path: php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); } - free(cwd); + efree(cwd); if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(trypath TSRMLS_CC)) { return NULL; |