mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- Fixed possible memory leak in finfo_open()
This commit is contained in:
parent
38dd904a46
commit
39d0c5e202
3
NEWS
3
NEWS
@ -31,6 +31,9 @@ PHP NEWS
|
||||
- BCmath:
|
||||
. Fixed bug #60377 (bcscale related crashes on 64bits platforms) (shm)
|
||||
|
||||
- Fileinfo:
|
||||
. Fixed possible memory leak in finfo_open(). (Felipe)
|
||||
|
||||
- Intl:
|
||||
. Fixed memory leak in several Intl locale functions. (Felipe)
|
||||
|
||||
|
@ -2137,7 +2137,7 @@ error1:
|
||||
php_stream_close(stream);
|
||||
}
|
||||
|
||||
if (mm && ret == 1) {
|
||||
if (mm) {
|
||||
efree(mm);
|
||||
} else {
|
||||
*magicp = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user