Commit 32312b04 authored by Pierre Ynard's avatar Pierre Ynard

oldrc: fix crash on memory error

(cherry picked from commit ed9350a38676c62df562c483ecbc68d837d2cef8)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent 379f3395
......@@ -2054,6 +2054,8 @@ static input_item_t *parse_MRL( intf_thread_t *p_intf, char *psz_mrl )
if( !psz_mrl ) return 0;
psz_mrl = psz_orig = strdup( psz_mrl );
if( !psz_mrl )
return NULL;
while( *psz_mrl )
{
SKIPSPACE( psz_mrl );
......
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