mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
stdio: fix unmatch cast
This commit is contained in:
parent
03fa36a873
commit
be03147188
3
php_uv.c
3
php_uv.c
@ -2222,10 +2222,9 @@ void static destruct_httpparser(zend_rsrc_list_entry *rsrc TSRMLS_DC)
|
||||
|
||||
void static destruct_uv_stdio(zend_rsrc_list_entry *rsrc TSRMLS_DC)
|
||||
{
|
||||
php_uv_stdio_t *obj = (http_parser *)rsrc->ptr;
|
||||
php_uv_stdio_t *obj = (php_uv_stdio_t *)rsrc->ptr;
|
||||
|
||||
if (obj->stream != NULL) {
|
||||
//Z_DELREF_P(obj->stream);
|
||||
zval_ptr_dtor(&obj->stream);
|
||||
obj->stream = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user