diff options
| author | Antony Dovgal <tony2001@php.net> | 2007-01-12 09:10:16 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2007-01-12 09:10:16 +0000 |
| commit | 5941c1d28cd5f89e3635693c11f704ffb00528f4 (patch) | |
| tree | 047e75b3fb8e0a855e240edd1e94fc2a29dcaf9f | |
| parent | 25e737300980fb815f128f2bfbe74a4635a8f686 (diff) | |
| download | php-git-5941c1d28cd5f89e3635693c11f704ffb00528f4.tar.gz | |
MFH
| -rw-r--r-- | main/fopen_wrappers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 4e87a8a110..2b201baa61 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -304,6 +304,9 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC) SG(request_info).path_translated = filename; } } +#if defined(ZTS) && defined(HAVE_GETPWNAM_R) && defined(_SC_GETPW_R_SIZE_MAX) + efree(pwbuf); +#endif } } else #endif |
