From 74a9ed7b3f0b9a11c197612a100c50f041747ad0 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 10 May 1999 20:46:42 +0000 Subject: Weed out all BoundsChecker-found bugs (including a serious file descriptor leak in the C++ scanner) --- Zend/zend_alloc.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Zend/zend_alloc.c') diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index c4a431e8e8..21bcc40c0f 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -459,6 +459,12 @@ ZEND_API int _mem_block_check(void *ptr, int silent, char *filename, int lineno) fprintf(stderr,"Unknown\n"); } } + + if (had_problems) { + int foo = 5; + + foo+=1; + } if (!silent) { fprintf(stderr,"---------------------------------------\n"); -- cgit v1.2.1