diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index a9b78ba6ad9..2d852a41835 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -1704,6 +1704,9 @@ PHP_FUNCTION(fbsql_list_dbs) phpResult->array = fbcehAvailableDatabases(phpLink->execHandler); phpResult->rowCount = fbaCount(phpResult->array); phpResult->list = NULL; + + ZEND_REGISTER_RESOURCE(return_value, phpResult, le_result); + } /* }}} */