Commit 8da288d5 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

addons: vorepository: Fix bad free

refs #18321
parent f3df29e7
......@@ -149,7 +149,7 @@ static int ParseManifest( addons_finder_t *p_finder, addon_entry_t *p_entry,
if ( data_pointer.e_type == TYPE_STRING )
{
if( data_pointer.u_data.ppsz )
free( data_pointer.u_data.ppsz );
free( *data_pointer.u_data.ppsz );
*data_pointer.u_data.ppsz = strdup( p_node );
}
else
......
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