facebook/hhvm — pull request #2859 by danslo (2014-06-05 07:49:23+00:00)
Title: fix a memory leak in simplexml

Oops, this one's on me. Since t_getiterator passes control over from the
sxe object to the iterator, we need to actually release sxe when our
iterator's destructor is called.

Fixes #2854.