From: Jaroslav Kysela Date: Wed, 5 Apr 2017 13:53:39 +0000 (+0200) Subject: subscriptions: fix possible memory leak X-Git-Tag: v4.2.1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37d869094c89ffb5029f760745fdfb4238ef79ab;p=thirdparty%2Ftvheadend.git subscriptions: fix possible memory leak --- diff --git a/src/subscriptions.c b/src/subscriptions.c index 06c72168f..404b222c1 100644 --- a/src/subscriptions.c +++ b/src/subscriptions.c @@ -575,8 +575,8 @@ subscription_input(void *opaque, streaming_message_t *sm) s->ths_testing_error = error; subsetstate(s, SUBSCRIPTION_BAD_SERVICE); streaming_msg_free(sm); + return; } - return; } if(sm->sm_type == SMT_SERVICE_STATUS &&