Commits
Anthony Ramine authored a213e7704f2
1 + | --- amf.c.orig 2010-01-05 04:23:23.000000000 +0100 |
2 + | +++ amf.c 2010-01-05 04:29:37.000000000 +0100 |
3 + | |
4 + | int resultType = AMFC_TYPEDOBJECT; |
5 + | int resultValueLength = 0; |
6 + | zval** resultValue = struc; |
7 + | - int deallocResult = (*struc)->refcount; |
8 + | |
9 + | resultType = amf_perform_serialize_callback(struc, &className,&classNameLen,&resultValue,var_hash TSRMLS_CC); |
10 + | |
11 + | |
12 + | } |
13 + | else |
14 + | { |
15 + | - newval->refcount--; |
16 + | + Z_DELREF_P(newval); |
17 + | } |
18 + | *rval = newval; |
19 + | } |