12 Dec
2007
12 Dec
'07
5:54 p.m.
Author: nicodvb Date: Wed Dec 12 23:54:20 2007 New Revision: 25383 Log: fix memleaks; patch by andrew calkin from gmail com Modified: trunk/stream/stream_dvb.c Modified: trunk/stream/stream_dvb.c ============================================================================== --- trunk/stream/stream_dvb.c (original) +++ trunk/stream/stream_dvb.c Wed Dec 12 23:54:20 2007 @@ -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;
6544
Age (days ago)
6544
Last active (days ago)
0 comments
1 participants
participants (1)
-
nicodvb