diff options
Diffstat (limited to 'src/os_win16.c')
-rw-r--r-- | src/os_win16.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_win16.c b/src/os_win16.c index 2afaddcba..1cf3ff8e9 100644 --- a/src/os_win16.c +++ b/src/os_win16.c @@ -121,7 +121,8 @@ WinMain( pmain(argc, argv); free(argv); - free(tofree); + if (tofree != NULL) + free(tofree); return 0; } |