Skip to content
Snippets Groups Projects
Commit 6b6036cb authored by Steve Lhomme's avatar Steve Lhomme
Browse files

winvlc: don't keep the crash path forever in memory


It's copied internally by breakpad.

(cherry picked from commit 3e3292a5)
Signed-off-by: default avatarSteve Lhomme <robux4@ycbcr.xyz>
parent d96742d1
No related branches found
No related tags found
1 merge request!4652[3.0] breakpad fixes
......@@ -213,7 +213,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" );
......
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