Python 2.7.3, C++ embed memory leak?
Ulrich Eckhardt
ulrich.eckhardt at dominolaser.com
Tue May 29 11:29:01 EDT 2012
Am 29.05.2012 16:37, schrieb Qi:
> I tried to only call Py_Initialize() and Py_Finalize(), nothing else
> between those functions, Valgrind still reports memory leaks
> on Ubuntu?
Call the pair of functions twice, if the reported memory leak doesn't
increase, there is no problem. I personally wouldn't even call this a
leak then, but that depends a bit on the precise definition.
Uli
More information about the Python-list
mailing list