Browse Source

processor: zend_constant.name uses malloc

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@218 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 16 years ago
parent
commit
3365e394be
  1. 4
      processor/processor.m4

4
processor/processor.m4

@ -221,7 +221,11 @@ DEF_STRUCT_P_FUNC(`zend_constant', , `dnl {{{
STRUCT(zval, value)
DISPATCH(int, flags)
DISPATCH(uint, name_len)
pushdef(`emalloc', `malloc($1)')
pushdef(`ecalloc', `calloc($1, $2)')
PROC_ZSTRING_L(, name, name_len)
popdef(`ecalloc')
popdef(`emalloc')
DISPATCH(int, module_number)
')
dnl }}}

Loading…
Cancel
Save