Skip to content
Browse files

Merge pull request #7 from southly/fix-leaks

fix memory leaks
  • Loading branch information...
2 parents 859dedd + 71e9d0e commit 8190653a96cad9b63b8cf6d1d9bcc0d5f9018192 @deflis committed Jul 2, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 main.cpp
View
3 main.cpp
@@ -1230,9 +1230,6 @@ int APIENTRY wWinMain(HINSTANCE hInst, HINSTANCE hPrev, LPWSTR lpCmdLine, int nC
/* 新規ウインドウの作成 */
void makeNewWindow()
{
- LPWSTR cd = new TCHAR[MAX_PATH+1];
- GetCurrentDirectory(MAX_PATH, cd);
-
STARTUPINFO si;
ZeroMemory(&si, sizeof(si));
si.cb = sizeof(si);

0 comments on commit 8190653

Please sign in to comment.
Something went wrong with that request. Please try again.