Re: Problem with leak detection
| From: | Michael Wallner | Date: | Mon, 20 Jun 2005 17:53:20 +0000 |
| Subject: | Re: Problem with leak detection | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16807@lists.php.net to get a copy of this message | ||
Marcus Boerger wrote:
i just stumbled over a strange issue while testing. Some of my tests have exit(0) at the end for easier test verification. Now i found a new one that has a few memleaks but only reports them if i drop that exit(0) line. Is this something we need to fix (e.g. exit() omits leakage info)?Sorry, but I cannot speak for exit(), but I usually replace all occurrences of #if PHP_WIN32 OutputDebugString(...); #else fprintf(stderr, ...); #endif with just fprintf(stderr, ...) to see any mem-leaks on Win32-CLI. JFYI. Regards, -- Mike