]> granicus.if.org Git - php/commitdiff
Fix macro
authorZeev Suraski <zeev@php.net>
Fri, 3 Aug 2001 08:15:16 +0000 (08:15 +0000)
committerZeev Suraski <zeev@php.net>
Fri, 3 Aug 2001 08:15:16 +0000 (08:15 +0000)
Zend/zend_alloc.c

index a34615e52e817d84c94d8db42d106195ee111282..4012b6f91312ca7406cf426c831f4ff868fe8d63 100644 (file)
@@ -45,7 +45,7 @@ ZEND_API zend_alloc_globals alloc_globals;
 #define ZEND_DO_REALLOC(ptr, size)     (AG(memory_heap) ? HeapReAlloc(AG(memory_heap), HEAP_NO_SERIALIZE, ptr, size) : realloc(ptr, size))
 #else
 #define ZEND_DO_MALLOC(size)           malloc(size)
-#define ZEND_DO_FREE(ptr)                      free(size)
+#define ZEND_DO_FREE(ptr)                      free(ptr)
 #define ZEND_DO_REALLOC(ptr, size)     realloc(ptr, size)
 #endif