couchbaselabs/php-couchbase — pull request #5 by jdubreville (2014-11-25 23:12:45+00:00)
Title: PHP Running as Module Sporadic Errors Fix

When running php-couchbase in Apache or as PHP-FPM (NGINX) sporadic memory issues would occur. This was happening because the libcouchbase lcb_t struct was not being cleaned up properly. In the free storage call a call to lcb_destory was added to correct the issue.