Skip to content
Snippets Groups Projects
Commit 8f8f1fd0 authored by Lyndon Brown's avatar Lyndon Brown Committed by Jean-Baptiste Kempf
Browse files

kwallet: fix invalid free

parent 1d32cd03
No related branches found
No related tags found
1 merge request!1103kwallet: fix invalid free
Pipeline #175348 passed with stages
in 29 minutes and 45 seconds
......@@ -236,7 +236,10 @@ key2values( char* psz_key, vlc_keystore_entry* p_entry )
goto end;
if ( url.i_port && asprintf( &p_entry->ppsz_values[KEY_PORT],
"%d", url.i_port) == -1 )
{
p_entry->ppsz_values[KEY_PORT] = NULL;
goto end;
}
if ( url.psz_path && !( p_entry->ppsz_values[KEY_PATH] =
strdup( url.psz_path ) ) )
goto end;
......
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