Commit 80bd0c5d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

b4s: memory leak

parent 327a8846
...@@ -439,7 +439,10 @@ static void ParseClipInfo( const char *psz_clipinfo, char **ppsz_artist, char ** ...@@ -439,7 +439,10 @@ static void ParseClipInfo( const char *psz_clipinfo, char **ppsz_artist, char **
*( strchr( psz_suboption, '=' ) ) = '\0'; *( strchr( psz_suboption, '=' ) ) = '\0';
} }
else else
{
free( psz_suboption );
break; break;
}
/* Put into args */ /* Put into args */
if( !strcmp( psz_param, "artist name" ) ) if( !strcmp( psz_param, "artist name" ) )
*ppsz_artist = decode_URI_duplicate( psz_value ); *ppsz_artist = decode_URI_duplicate( psz_value );
......
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