Skip to content

Commit 8d130e1

Browse files
committed
fix transport_string release
1 parent 22bdb43 commit 8d130e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/http_fopen_wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ static php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper,
211211
if (request_fulluri && (strchr(path, '\n') != NULL || strchr(path, '\r') != NULL)) {
212212
php_stream_wrapper_log_error(wrapper, options, "HTTP wrapper full URI path does not allow CR or LF characters");
213213
php_url_free(resource);
214-
zend_string_release(transport_string);
214+
efree(transport_string);
215215
return NULL;
216216
}
217217

0 commit comments

Comments
 (0)