MFH: fix potential free of NULL

This commit is contained in:
Greg Beaver 2009-05-14 13:36:56 +00:00
parent c205eb5143
commit 7aabee2ec6

View file

@ -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 */