projects
/
m6w6
/
ext-propro
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
2ddf274
)
no addref
author
Michael Wallner
<mike@php.net>
Thu, 22 Jan 2015 15:04:54 +0000
(16:04 +0100)
committer
Michael Wallner
<mike@php.net>
Thu, 22 Jan 2015 15:04:54 +0000
(16:04 +0100)
php_propro.c
patch
|
blob
|
history
diff --git
a/php_propro.c
b/php_propro.c
index ba854e62d0ac8d7f6312765bda3b37a6ddc5e968..090b0dabe8e868e55a32acab7ddbd7003156a2f7 100644
(file)
--- a/
php_propro.c
+++ b/
php_propro.c
@@
-43,7
+43,7
@@
php_property_proxy_t *php_property_proxy_init(zval *container, zend_string *memb
void php_property_proxy_free(php_property_proxy_t **proxy)
{
if (*proxy) {
- zval_ptr_dtor(
&(*proxy)->container);
+ zval_ptr_dtor(&(*proxy)->container);
zend_string_release((*proxy)->member);
efree(*proxy);
*proxy = NULL;
@@
-59,7
+59,6
@@
zval *php_property_proxy_zval(zval *container, zend_string *member)
proxy_obj = php_property_proxy_object_new_ex(NULL, proxy);
ZVAL_OBJ(&proxy_obj->myself, &proxy_obj->zo);
- Z_ADDREF(proxy_obj->myself);
return &proxy_obj->myself;
}