diff options
| author | Antony Dovgal <tony2001@php.net> | 2005-06-20 19:58:51 +0000 | 
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2005-06-20 19:58:51 +0000 | 
| commit | e05ec94e1e1429a3d28b5c602374c3cff7e5820b (patch) | |
| tree | 3bf2af670c0fce4b432ab15d30ef937f11f15a10 | |
| parent | 62bdbc0e5716c1a353aa23de4d43d840f0c6daed (diff) | |
| download | php-git-e05ec94e1e1429a3d28b5c602374c3cff7e5820b.tar.gz | |
reorder and prevent memleak: bailout after free()
| -rw-r--r-- | main/main.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/main/main.c b/main/main.c index 882453414f..cb20792f00 100644 --- a/main/main.c +++ b/main/main.c @@ -775,8 +775,8 @@ static void php_error_cb(int type, const char *error_filename, const uint error_  				/* restore memory limit */  				AG(memory_limit) = PG(memory_limit);   #endif -				zend_bailout();  				efree(buffer); +				zend_bailout();  				return;  			}  			break; | 
