Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp> added the comment: >The path variable should be PyMem_Free'd
Sorry if I'm missing something, but is this really needed? Other PyArg_ParseTuple(args, "s... doesn't seem to have corresponding PyMem_Free. static PyObject * imp_new_module(PyObject *self, PyObject *args) { char *name; if (!PyArg_ParseTuple(args, "s:new_module", &name)) return NULL; return PyModule_New(name); } _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3677> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com