0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-04-21 19:24:36 +00:00

Merge pull request from stesie/fix-double-free

Fix double free
This commit is contained in:
Stefan Siegl 2015-12-31 20:56:18 +01:00
commit 7ab66751e3

@ -675,7 +675,7 @@ v8::Local<v8::Value> v8js_named_property_callback(v8::Local<v8::String> property
zval php_ret_value;
zend_call_method_with_2_params(&zobject, ce, &ce->__set, ZEND_SET_FUNC_NAME, &php_ret_value, &zname, &php_value);
ret_value = zval_to_v8js(&php_ret_value, isolate TSRMLS_CC);
zval_ptr_dtor(&php_value);
zval_ptr_dtor(&php_ret_value);
}
}