diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-07-25 08:23:07 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-07-25 08:23:07 +0000 |
commit | 691d4a6999a9392505c4204bb0ad5c877fb80084 (patch) | |
tree | 400a08953f9ec8be3b003a3176e3ee567e8c1d19 /ext/pgsql/pgsql.c | |
parent | 7b0f90e0c8ee620b29bb4c8f98e32e1738d72993 (diff) | |
download | php-git-691d4a6999a9392505c4204bb0ad5c877fb80084.tar.gz |
Fixed uninitialised data
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 7f99939150..16dc1b0d76 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2639,6 +2639,7 @@ static void php_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, long result_type, fcc.initialized = 1; fcc.function_handler = ce->constructor; fcc.calling_scope = EG(scope); + fcc.called_scope = Z_OBJCE_P(return_value); fcc.object_pp = &return_value; if (zend_call_function(&fci, &fcc TSRMLS_CC) == FAILURE) { |