From: ddennedy Date: Mon, 22 Mar 2004 13:24:45 +0000 (+0000) Subject: null pointer check in end_playlist X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=5a4ba0b72c9f1fc6945b4f9e680fc1ac4e2df5c9;hp=01453096ad1094889d18c81f7012908465db18c9;p=melted null pointer check in end_playlist git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@227 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/westley/producer_westley.c b/src/modules/westley/producer_westley.c index 2277ece..06c6cfe 100644 --- a/src/modules/westley/producer_westley.c +++ b/src/modules/westley/producer_westley.c @@ -373,6 +373,8 @@ static void on_end_playlist( deserialise_context context, const xmlChar *name ) { // Get the playlist from the stack mlt_service producer = context_pop_service( context ); + if ( producer == NULL ) + return; mlt_properties properties = mlt_service_properties( producer ); mlt_position in = mlt_properties_get_position( properties, "in" );