Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: Add missing profile_chain_close() call to the error path
  • Loading branch information
perexg committed May 25, 2015
1 parent 667da0c commit d39ce53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dvr/dvr_rec.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit d39ce53

Please sign in to comment.