summaryrefslogtreecommitdiff
path: root/ext/pgsql
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-11-21 09:50:14 +0100
committerOndřej Surý <ondrej@sury.org>2013-11-21 09:50:14 +0100
commit0d7d3241164b4769b93867da2e8adb724ae17950 (patch)
tree18848ffcc5f7d70c56cd890352f518b60af11ea1 /ext/pgsql
parent3f2474550cbf299d8a7df34988ece052a0401414 (diff)
downloadphp-upstream/5.5.6+dfsg.tar.gz
New upstream version 5.5.6+dfsgupstream/5.5.6+dfsg
Diffstat (limited to 'ext/pgsql')
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 35eb09e58..32d407af7 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -2639,7 +2639,7 @@ static void php_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, long result_type,
Bucket *p;
fci.param_count = 0;
- fci.params = safe_emalloc(sizeof(zval*), ht->nNumOfElements, 0);
+ fci.params = safe_emalloc(sizeof(zval***), ht->nNumOfElements, 0);
p = ht->pListHead;
while (p != NULL) {
fci.params[fci.param_count++] = (zval**)p->pData;