Memory leak detection
| From: | Gustavo Lopes | Date: | Thu, 19 Nov 2009 06:19:46 +0000 |
| Subject: | Memory leak detection | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-6796@lists.php.net to get a copy of this message | ||
Hi, I've read that PHP compiled in debug mode was supposed to warn of memory leaks.
I've tried to add an obvious memory leak, but got no messages:
(...)
void *a = emalloc(200);
printf("%d", *((int*)a));
(...)
php.exe 006.php 15158708101515870810(nothing more)
php.exe -i | findstr cscript Configure Command => cscript /nologo configure.js "--enable-debug" "--enable-crt-debug"Did I do anything wrong? Thanks -- Gustavo Lopes