mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
MFH: fix potential free of NULL
This commit is contained in:
parent
c205eb5143
commit
7aabee2ec6
1 changed files with 3 additions and 1 deletions
|
@ -407,7 +407,9 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
|
|||
have_header |= HTTP_HEADER_TYPE;
|
||||
}
|
||||
}
|
||||
efree(tmp);
|
||||
if (tmp) {
|
||||
efree(tmp);
|
||||
}
|
||||
}
|
||||
|
||||
/* auth header if it was specified */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue