Commit b8e2f52f authored by Marian Durkovic's avatar Marian Durkovic

Use free() after FromWide()

parent b0dd21df
......@@ -2066,6 +2066,7 @@ static int GetFilenames( vlc_t *p_vlc, int i_argc, char *ppsz_argv[] )
(char const **)( i_options ? &ppsz_argv[i_opt + 1] :
NULL ), i_options,
PLAYLIST_INSERT, 0 );
free( psz_target );
}
else
#endif
......@@ -2075,8 +2076,8 @@ static int GetFilenames( vlc_t *p_vlc, int i_argc, char *ppsz_argv[] )
(char const **)( i_options ? &ppsz_argv[i_opt + 1] :
NULL ), i_options,
PLAYLIST_INSERT, 0 );
LocaleFree( psz_target );
}
LocaleFree( psz_target );
}
return VLC_SUCCESS;
......
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