summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_ps_codec.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-09-30 23:13:43 +0000
committerAndrey Hristov <andrey@php.net>2009-09-30 23:13:43 +0000
commitba5c40b2ad4acf4c7327098728325899cc020266 (patch)
tree9ae893e6ab33a56181e99b3d3992887a3cc29287 /ext/mysqlnd/mysqlnd_ps_codec.c
parentb9dcc28c24d76508786691a0ce7b4ec89e2131e3 (diff)
downloadphp-git-ba5c40b2ad4acf4c7327098728325899cc020266.tar.gz
Use mnd_ wrappers wherever possible. Needed for
statistics.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps_codec.c')
-rw-r--r--ext/mysqlnd/mysqlnd_ps_codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c
index 6fd2e053b2..b8aa80cd7d 100644
--- a/ext/mysqlnd/mysqlnd_ps_codec.c
+++ b/ext/mysqlnd/mysqlnd_ps_codec.c
@@ -583,7 +583,7 @@ static void
mysqlnd_stmt_copy_it(zval *** copies, zval *original, unsigned int param_count, unsigned int current)
{
if (!*copies) {
- *copies = ecalloc(param_count, sizeof(zval *));
+ *copies = mnd_ecalloc(param_count, sizeof(zval *));
}
MAKE_STD_ZVAL((*copies)[current]);
*(*copies)[current] = *original;
@@ -777,7 +777,7 @@ mysqlnd_stmt_execute_store_params(MYSQLND_STMT *stmt, zend_uchar **buf, zend_uch
zval_ptr_dtor(&copies[i]);
}
}
- efree(copies);
+ mnd_efree(copies);
}
}
/* }}} */