diff options
| author | Pierre Joye <pajoye@php.net> | 2010-04-01 20:21:50 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2010-04-01 20:21:50 +0000 |
| commit | 96e2651fa2f4cb012d9235b7065128ac9ec0d49c (patch) | |
| tree | 63e9353470d2e1ddfc2205038b3fc7560a98020c /ext/mysqlnd/mysqlnd_ps_codec.c | |
| parent | a3857fd9631102cbe923cca8fce0d22a4c5c3199 (diff) | |
| download | php-git-96e2651fa2f4cb012d9235b7065128ac9ec0d49c.tar.gz | |
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps_codec.c')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_ps_codec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c index 5cc2f8bbdd..dba749211c 100644 --- a/ext/mysqlnd/mysqlnd_ps_codec.c +++ b/ext/mysqlnd/mysqlnd_ps_codec.c @@ -270,7 +270,7 @@ void ps_fetch_time(zval *zv, const MYSQLND_FIELD * const field, if (!as_unicode) { #endif ZVAL_STRINGL(zv, to, length, 1); - efree(to); /* allocated by spprintf */ + mnd_efree(to); #if PHP_MAJOR_VERSION >= 6 } else { ZVAL_UTF8_STRINGL(zv, to, length, ZSTR_AUTOFREE); @@ -321,7 +321,7 @@ void ps_fetch_date(zval *zv, const MYSQLND_FIELD * const field, if (!as_unicode) { #endif ZVAL_STRINGL(zv, to, length, 1); - efree(to); /* allocated by spprintf */ + mnd_efree(to); #if PHP_MAJOR_VERSION >= 6 } else { ZVAL_UTF8_STRINGL(zv, to, length, ZSTR_AUTOFREE); @@ -380,7 +380,7 @@ void ps_fetch_datetime(zval *zv, const MYSQLND_FIELD * const field, if (!as_unicode) { #endif ZVAL_STRINGL(zv, to, length, 1); - efree(to); /* allocated by spprintf */ + mnd_efree(to); #if PHP_MAJOR_VERSION >= 6 } else { ZVAL_UTF8_STRINGL(zv, to, length, ZSTR_AUTOFREE); |
