diff options
| author | Sterling Hughes <sterling@php.net> | 2003-05-20 02:12:03 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2003-05-20 02:12:03 +0000 |
| commit | 7e161dafeb416351c52b417616a81ebd0e42adce (patch) | |
| tree | 39694af12a9d16674517f05de4b4c189e9bf2c15 /ext/simplexml/simplexml.c | |
| parent | 31f0d1c94941fa2bd40472070450f1b4635e8828 (diff) | |
| download | php-git-7e161dafeb416351c52b417616a81ebd0e42adce.tar.gz | |
data corruption is for sissy boys
Diffstat (limited to 'ext/simplexml/simplexml.c')
| -rw-r--r-- | ext/simplexml/simplexml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 08b88462be..7159157ccb 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -363,7 +363,7 @@ php_sxe_object_new(TSRMLS_D) { php_sxe_object *intern; - intern = emalloc(sizeof(php_sxe_object)); + intern = ecalloc(1, sizeof(php_sxe_object)); intern->zo.ce = sxe_class_entry; intern->zo.in_get = 0; intern->zo.in_set = 0; |
