fix leak when zend.assertions=0