Skip to content
Snippets Groups Projects
Commit 1fc8b688 authored by Lyndon Brown's avatar Lyndon Brown Committed by François Cartegnie
Browse files

vorepository: fix bad failure check

parent 187d2118
No related branches found
No related tags found
1 merge request!1100vorepository: fix bad failure check
Pipeline #174453 passed with stage
in 22 minutes and 36 seconds
......@@ -374,7 +374,7 @@ static int Retrieve( addons_finder_t *p_finder, addon_entry_t *p_entry )
{
/* Relative path */
char *psz_uri;
if ( ! asprintf( &psz_uri, ADDONS_REPO_SCHEMEHOST"%s", psz_archive_uri ) )
if ( asprintf( &psz_uri, ADDONS_REPO_SCHEMEHOST"%s", psz_archive_uri ) == -1 )
{
free( psz_archive_uri );
return VLC_ENOMEM;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment