diff options
author | Martijn Otto <martijn.otto@copernica.com> | 2016-05-17 16:14:15 +0200 |
---|---|---|
committer | Martijn Otto <martijn.otto@copernica.com> | 2016-05-17 16:14:15 +0200 |
commit | 1b2562a3af73f1b0554c73d2f9078acb00eda37b (patch) | |
tree | 98dbc81731cb61ef40b9891fef18662e8e833b59 /zend/extensionimpl.cpp | |
parent | 37123a5474f73f3db51cb726cfb512acca4682c8 (diff) |
Fix crash during initialization
Diffstat (limited to 'zend/extensionimpl.cpp')
-rw-r--r-- | zend/extensionimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/extensionimpl.cpp b/zend/extensionimpl.cpp index bc29cf1..ef5d33d 100644 --- a/zend/extensionimpl.cpp +++ b/zend/extensionimpl.cpp @@ -364,7 +364,7 @@ bool ExtensionImpl::initialize(int module_number TSRMLS_DC) }); // last entry should be set to all zero's - memset(&_ini[i], 0, sizeof(zend_ini_entry)); + memset(&_ini[i], 0, sizeof(_ini[i])); // register ini entries in Zend core zend_register_ini_entries(_ini.get(), module_number TSRMLS_CC); |