Staging
v0.8.1
Revision e727d41ffcd91b21ce82026ec8c8381d34a16209 authored by Victor Stinner on 18 September 2017, 12:29:37 UTC, committed by GitHub on 18 September 2017, 12:29:37 UTC
* bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash

xml.etree: xmlparser_gc_clear() now sets self.parser to NULL to prevent a
crash in xmlparser_dealloc() if xmlparser_gc_clear() was called previously
by the garbage collector, because the parser was part of a reference cycle.

Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
1 parent 9b47af6
Raw File
parsetok_pgen.c
#define PGEN
#include "parsetok.c"
back to top