Commit 3f7cfc2b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

shoutcast: Fix some leaks.

parent ffe7e8d1
......@@ -139,6 +139,7 @@ error:
#define GET_VALUE( a ) \
if( !strcmp( psz_attrname, #a ) ) \
{ \
free(psz_ ## a); \
psz_ ## a = psz_attrvalue; \
}
/* <genrelist>
......@@ -413,6 +414,7 @@ static int DemuxStation( demux_t *p_demux, xml_reader_t *p_xml_reader,
input_item_SetRating( p_input, psz_rt );
input_item_AddSubItem( p_current_input, p_input );
vlc_gc_decref( p_input );
FREENULL( psz_base );
FREENULL( psz_name );
FREENULL( psz_mt );
FREENULL( psz_id );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment