Commit 98b588f7 authored by Laurent Aimar's avatar Laurent Aimar Committed by Rémi Duraffort

Fixed allocation failure test in input_item_SetEpg().

(cherry picked from commit 9db11bdf)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent e0b84ecd
......@@ -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 );
if( !p_epg )
return;
#ifdef EPG_DEBUG
char *psz_epg;
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