mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
minor memory leak
This commit is contained in:
parent
97c9914da2
commit
232821a0b1
@ -109,6 +109,7 @@ wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdS
|
|||||||
|
|
||||||
wstring cert_filename (argv[0]);
|
wstring cert_filename (argv[0]);
|
||||||
wstring cert_dir (argv[1]);
|
wstring cert_dir (argv[1]);
|
||||||
|
LocalFree(argv);
|
||||||
|
|
||||||
AuthDialog *dialog = new AuthDialog(cert_filename, cert_dir);
|
AuthDialog *dialog = new AuthDialog(cert_filename, cert_dir);
|
||||||
dialog->show();
|
dialog->show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user