Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added missing call to SDL_stack_free().
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jul 6, 2013
1 parent 26e8d76 commit 4aee6f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/windows/SDL_windows_main.c
Expand Up @@ -176,6 +176,8 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
/* Run the main program */
console_main(argc, argv);

SDL_stack_free(argv);

SDL_free(cmdline);

/* Hush little compiler, don't you cry... */
Expand Down

0 comments on commit 4aee6f4

Please sign in to comment.