diff options
author | Sean Finney <seanius@debian.org> | 2009-06-30 19:11:48 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2009-06-30 19:11:48 +0200 |
commit | d3a8757891280dc6650ca7eead67830c794b0e7b (patch) | |
tree | fd17e4142019fe7af4eeb7a5c9e0bdade5388418 /ext/mysqlnd/mysqlnd_debug.c | |
parent | 84f4ca9b07fe5b73d840258f4aa7c1eb534c4253 (diff) | |
download | php-d3a8757891280dc6650ca7eead67830c794b0e7b.tar.gz |
Imported Upstream version 5.3.0upstream/5.3.0
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_debug.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c index 85a629506..f2bbd89fa 100644 --- a/ext/mysqlnd/mysqlnd_debug.c +++ b/ext/mysqlnd/mysqlnd_debug.c @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mysqlnd_debug.c,v 1.1.2.17 2009/06/16 13:07:14 andrey Exp $ */ +/* $Id: mysqlnd_debug.c,v 1.1.2.18 2009/06/25 19:03:51 johannes Exp $ */ #include "php.h" #include "mysqlnd.h" @@ -830,9 +830,6 @@ void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQL void _mysqlnd_efree(void *ptr MYSQLND_MEM_D) { DBG_ENTER(mysqlnd_efree_name); - if (!ptr) { - DBG_VOID_RETURN; - } #ifdef MYSQLND_THREADED if (MYSQLND_G(thread_id) != tsrm_thread_id()) { DBG_RETURN(_mysqlnd_pefree(ptr, 1 TSRMLS_CC ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)); |