iptv: workaround for printing error on mux delete
This commit is contained in:
parent
8b8d402101
commit
731c39c910
1 changed files with 3 additions and 2 deletions
|
@ -74,17 +74,18 @@ iptv_mux_config_save ( mpegts_mux_t *mm )
|
|||
static void
|
||||
iptv_mux_delete ( mpegts_mux_t *mm, int delconf )
|
||||
{
|
||||
char *url;
|
||||
iptv_mux_t *im = (iptv_mux_t*)mm;
|
||||
|
||||
if (delconf)
|
||||
hts_settings_remove("input/iptv/muxes/%s/config",
|
||||
idnode_uuid_as_str(&mm->mm_id));
|
||||
|
||||
free(im->mm_iptv_url);
|
||||
url = im->mm_iptv_url; // Workaround for silly printing error
|
||||
free(im->mm_iptv_interface);
|
||||
free(im->mm_iptv_svcname);
|
||||
|
||||
mpegts_mux_delete(mm, delconf);
|
||||
free(url);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue