Memory leaks in VC6 2 line Python 2.1b1 apps?

Tom NoSpam at NoSpam.com
Thu Mar 8 12:53:17 EST 2001


"Owen F. Ransen" <ransen_spam_me_not at nemo.it> wrote in message
news:3aa88f52.5419185 at news.newsguy.com...
> Python 2.1b1
>
> I tried to create a simple VC MFC app using the
> wizard as follows:
>
> 1) Multidoc shared MFC-DLL application.
> 2) Run time library debug multithreaded DLL
> 3) Added #include <python.h> to the main file
> 4) Added
>         Py_Initialize()
>         Py_Finalize()
>    at the end of the InitInstance()
> 5) When I run I get memory leaks visible at
>    exit.
>
> Any clues anyone?

For comparison sake.
I use VC6 and Python 2.0.  I create an EXE that calls the same same
functions that you mention, and Python itself doesn't leak (I get various
wierd leaks from other sources, but not Python so far as I can tell).

Tom.

>
> (I can't yet report this via Source Forge because my account
>  problems have not be sorted out yet.)
>
>
> --
> Owen F. Ransen
> http://www.ransen.com/
> Home of Gliftic & Repligator Image Generators





More information about the Python-list mailing list