Use xmlMalloc()'ed memory for ctxt->sax structure
Use xmlMalloc()'ed memory for ctxt->sax structure

Sometimes ctxt->sax pointer may not be zeroed in rxml_sax_parser_parse(),
for example when exception is raised in one of callbacks.

Allocate memory, copy rxml_sax_handler structure into this memory and
let xmlFreeParserCtxt() clean this up.

Signed-off-by: Alexey I. Froloff <e030318ea38fb65d24fa4c08f4b9f44c682eac2e@altlinux.org>

increments/libxml-ruby,sferik/libxml-ruby,sferik/libxml-ruby,increments/libxml-ruby,xml4r/libxml-ruby,xml4r/libxml-ruby,increments/libxml-ruby,sferik/libxml-ruby,sferik/libxml-ruby,sferik/libxml-ruby,xml4r/libxml-ruby,sferik/libxml-ruby