Date: 05/31/98
- Next message: jim: "[PHP-DEV] CVS update: php3/functions"
- Previous message: shane: "[PHP-DEV] CVS update: php31/main"
- In reply to: Jim Winstead: "[PHP-DEV] False memory leak from debugger.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 15:13 30/05/98 -0700, Jim Winstead wrote:
>(This may be a Win32-only thing, or only when the debugger is enabled.)
>
>The find_hostname() function uses estrndup(), but it happens during the
>first time the memory manager is initialized (module startup?) so when
>that gets closed, it frees the memory. I guess the correct solution
>is to use strdup() and free the memory in php3_mshutdown_debugger.
100% correct diagnosis :)
Zeev
-- Zeev Suraski <zeev <email protected>> For a PGP public key, finger bourbon <email protected>
- Next message: jim: "[PHP-DEV] CVS update: php3/functions"
- Previous message: shane: "[PHP-DEV] CVS update: php31/main"
- In reply to: Jim Winstead: "[PHP-DEV] False memory leak from debugger.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

