Commit 9db11bdf authored by Laurent Aimar's avatar Laurent Aimar

Fixed allocation failure test in input_item_SetEpg().

parent 2f37c6b5
...@@ -744,6 +744,9 @@ void input_item_SetEpg( input_item_t *p_item, const vlc_epg_t *p_update ) ...@@ -744,6 +744,9 @@ void input_item_SetEpg( input_item_t *p_item, const vlc_epg_t *p_update )
vlc_mutex_unlock( &p_item->lock ); vlc_mutex_unlock( &p_item->lock );
if( !p_epg )
return;
#ifdef EPG_DEBUG #ifdef EPG_DEBUG
char *psz_epg; char *psz_epg;
if( asprintf( &psz_epg, "EPG %s", p_epg->psz_name ? p_epg->psz_name : "unknown" ) < 0 ) if( asprintf( &psz_epg, "EPG %s", p_epg->psz_name ? p_epg->psz_name : "unknown" ) < 0 )
......
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