1
0
Fork 0

cacher: fix eleak in op_array non-shadow-copy (readonly_protection=on)

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@221 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 17 years ago
parent eab2061906
commit a24b9c693d

@ -545,6 +545,7 @@ DEF_STRUCT_P_FUNC(`zend_op_array', , `dnl {{{
STRUCT_P(zend_uint, refcount)
UNFIXPOINTER(zend_uint, refcount)
IFSTORE(`dst->refcount[0] = 1;')
pushdef(`AFTER_ALLOC', `IFCOPY(`
processor->active_opcodes_dst = dst->opcodes;

Loading…
Cancel
Save