mongodb/mongo-php-driver — pull request #613 by jmikola (2014-03-11 18:51:03+00:00)
Title: PHP-1011: Fix MongoDB inheritance of write concern strings

The default values for default_w and default_wstring are -1 and NULL, respectively. There should never be a point where both options have non-default values.

Additionally, avoid a memory leak by freeing default_wstring if we would replace a previously set value for the "w" option.