astropy/utils/xml/src/iterparse.c
/*
 * Deallocate the IterParser object.  For the internal PyObject*, just
 * punt to IterParser_clear.
 */
Deallocate the IterParser object.  For the internal PyObject*, just
punt to IterParser_clear.
Deallocate the IterParser object . For the internal PyObject * just punt to IterParser_clear .
static void
IterParser_dealloc(IterParser* self)
{
    IterParser_clear(self);
    free(self->buffer); self->buffer = NULL;
    free(self->queue);  self->queue = NULL;
    free(self->text);   self->text = NULL;
    if (self->parser != NULL) {
        XML_ParserFree(self->parser);
        self->parser = NULL;
    }
    Py_TYPE(self)->tp_free((PyObject*)self);
}
static void IterParser_dealloc ( IterParser * self ) { IterParser_clear ( self ) ; free ( self -> buffer ) ; self -> buffer = NULL ; free ( self -> queue ) ; self -> queue = NULL ; free ( self -> text ) ; self -> text = NULL ; if ( self -> parser != NULL ) { XML_ParserFree ( self -> parser ) ; self -> parser = NULL ; } Py_TYPE ( self ) -> tp_free ( ( PyObject * ) self ) ; }
Deallocate the IterParser object.
Deallocate the IterParser object .