From c296be124f6261f87c6ecd107a0a18159aa82c58 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sun, 22 Jul 2012 18:42:23 -0700 Subject: [PATCH] fix memory leak (coverity-710865) --- src/modules/xml/producer_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/xml/producer_xml.c b/src/modules/xml/producer_xml.c index a9396fe1..082dd9ce 100644 --- a/src/modules/xml/producer_xml.c +++ b/src/modules/xml/producer_xml.c @@ -1533,7 +1533,7 @@ static int file_exists( char *file ) mlt_producer producer_xml_init( mlt_profile profile, mlt_service_type servtype, const char *id, char *data ) { xmlSAXHandler *sax = calloc( 1, sizeof( xmlSAXHandler ) ); - struct deserialise_context_s *context = calloc( 1, sizeof( struct deserialise_context_s ) ); + struct deserialise_context_s *context; mlt_properties properties = NULL; int i = 0; struct _xmlParserCtxt *xmlcontext; -- 2.39.2