From: David Soria Parra Date: Sun, 25 Jan 2009 13:42:39 +0000 (+0000) Subject: MFB: Fix WS X-Git-Tag: php-5.2.9RC1~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b52d17a9bd50ee2a69f51987758a95baccd72ce;p=php MFB: Fix WS --- diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index c28c4d49c6..3bd75314a9 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -78,29 +78,29 @@ ZEND_API size_t _zend_mem_block_size(void *ptr TSRMLS_DC ZEND_FILE_LINE_DC ZEND_ inline static void * __zend_malloc(size_t len) { - void *tmp = malloc(len); - if (tmp) { - return tmp; - } - fprintf(stderr, "Out of memory\n"); - exit(1); + void *tmp = malloc(len); + if (tmp) { + return tmp; + } + fprintf(stderr, "Out of memory\n"); + exit(1); } inline static void * __zend_calloc(size_t nmemb, size_t len) { - void *tmp = _safe_malloc(nmemb, len, 0); - memset(tmp, 0, len); - return tmp; + void *tmp = _safe_malloc(nmemb, len, 0); + memset(tmp, 0, len); + return tmp; } inline static void * __zend_realloc(void *p, size_t len) { - p = realloc(p, len); - if (p) { - return p; - } - fprintf(stderr, "Out of memory\n"); - exit(1); + p = realloc(p, len); + if (p) { + return p; + } + fprintf(stderr, "Out of memory\n"); + exit(1); }