New submission from Winston451 <montag...@laposte.net>: The s_init function of the _struct.c file does not free the s_codes field before storing a new address into it. So when a Struct object is reinitialized the memory block pointed to by s_codes is lost. The file attached with the bug report shows a code which reproduce the problem.
---------- components: Library (Lib) files: leak.py messages: 111995 nosy: Winston451 priority: normal severity: normal status: open title: Memory leak when reinitializing a Struct object type: resource usage versions: Python 2.6 Added file: http://bugs.python.org/file18262/leak.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9422> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com