From: Jaroslav Kysela Date: Mon, 25 May 2015 18:39:02 +0000 (+0200) Subject: DVR: Add missing profile_chain_close() call to the error path X-Git-Tag: v4.2.1~2466 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d39ce53709b627fd2cffd04d8af210158252c9f1;p=thirdparty%2Ftvheadend.git DVR: Add missing profile_chain_close() call to the error path --- diff --git a/src/dvr/dvr_rec.c b/src/dvr/dvr_rec.c index 900903a80..49a60dcda 100644 --- a/src/dvr/dvr_rec.c +++ b/src/dvr/dvr_rec.c @@ -110,6 +110,7 @@ dvr_rec_subscribe(dvr_entry_t *de) if (profile_chain_open(prch, &de->de_config->dvr_muxcnf, 0, 0)) { tvherror("dvr", "unable to create new channel streaming chain for '%s'", channel_get_name(de->de_channel)); + profile_chain_close(prch); free(prch); return -1; }