[Python-bugs-list] [Bug #116235] module_search_path in PC/getpahp.c

noreply@sourceforge.net noreply@sourceforge.net
Fri, 6 Oct 2000 07:38:37 -0700


Bug #116235, was updated on 2000-Oct-06 06:01
Here is a current snapshot of the bug.

Project: Python
Category: Core
Status: Closed
Resolution: None
Bug Group: Platform-specific
Priority: 5
Summary: module_search_path in PC/getpahp.c

Details: The trouble seems to be in getpathp.c in the "pc" directory.
If I've seen well the static char pointer: 'module_search_path',
is allocated with
module_search_path = buf = malloc(bufsz);
but never erased. 
If I'm wrong, please, explain me where is destroyed.

Follow-Ups:

Date: 2000-Oct-06 07:38
By: gvanrossum

Comment:
This is not a memory leak as you seem to believe. The variable module_search_path must remain available until Python exits.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=116235&group_id=5470