diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c index 8f1c2806c4..f3d023d476 100644 --- a/stream/stream_dvb.c +++ b/stream/stream_dvb.c @@ -796,9 +796,15 @@ dvb_config_t *dvb_get_config(void) } if((access(conf_file, F_OK | R_OK) != 0)) + { + if(conf_file) + free(conf_file); conf_file = get_path("channels.conf"); + } list = dvb_get_channels(conf_file, type); + if(conf_file) + free(conf_file); if(list == NULL) continue; |