On Fri, Sep 22, 2017 at 7:01 AM, O'Neil Delpratt <on...@saxonica.com> wrote:
>       Z_ADDREF_P(oth);
>
It's a little rough staring through all the commented out lines and
inconsistent indenting, but this line stands out to me.

Where is oth's refcount meant to be decremented?  Why is it even being
incremented in the first place?  By having an extra reference, the
engine doesn't know that it's supposed to clean up the object and free
its storage.

-Sara

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to