]> granicus.if.org Git - python/commit
Fix [ #489673 ] memory leak in test_symtable: Free the st_future slot.
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 6 Dec 2001 14:34:58 +0000 (14:34 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 6 Dec 2001 14:34:58 +0000 (14:34 +0000)
commit2554dd993a86c7914bd7159c96b6517590a58561
treee291d1b35bb9b189fe16215c2e29364bd447810c
parent2556f2e1e251097818dd428cc22f0633bd9ba162
Fix [ #489673 ] memory leak in test_symtable: Free the st_future slot.

The st_future slot of the symtable is not freed by PySymtable_Free()
because it is shared by the symtable and compiling structs in
compiel.c.  Since it is shared, it is explicitly deallocated when the
compiling struct is freed.
Modules/symtablemodule.c