Commit 75911f54 authored by Francois Cartegnie's avatar Francois Cartegnie

addons: fsstorage: fix use after free

cid #1174899
parent 34174cd2
...@@ -647,8 +647,8 @@ static int WriteCatalog( addons_storage_t *p_storage, ...@@ -647,8 +647,8 @@ static int WriteCatalog( addons_storage_t *p_storage,
if( i_ret == -1 ) if( i_ret == -1 )
{ {
msg_Err( p_storage, "could not rename %s: %s", msg_Err( p_storage, "could not rename temp catalog: %s",
psz_file_tmp, vlc_strerror_c(errno) ); vlc_strerror_c(errno) );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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