-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.2.3
-
Component/s: None
-
None
A redundant zend_string_release() call introduced in PHPC-884 causes bson-fromPHP-006.phpt ("BSON\fromPHP(): PHP documents with null bytes in field name") to leak. It appears that the offending line was incorrectly preserved from the previous code, which always added a reference to existing property names.