mirror of https://code.videolan.org/videolan/vlc
winvlc: don't keep the crash path forever in memory
It's copied internally by breakpad.
This commit is contained in:
parent
520c9e9291
commit
3e3292a58d
|
@ -194,7 +194,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
|||
void* eh = NULL;
|
||||
if(crash_handling)
|
||||
{
|
||||
static wchar_t path[MAX_PATH];
|
||||
wchar_t path[MAX_PATH];
|
||||
if( S_OK != SHGetFolderPathW( NULL, CSIDL_APPDATA | CSIDL_FLAG_CREATE,
|
||||
NULL, SHGFP_TYPE_CURRENT, path ) )
|
||||
fprintf( stderr, "Can't open the vlc conf PATH\n" );
|
||||
|
|
Loading…
Reference in New Issue