mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-21 08:51:10 +00:00
Deallocate when I_Quit() is called instead.
This commit is contained in:
parent
7f11010b42
commit
5c8c35e773
3 changed files with 3 additions and 0 deletions
|
@ -2132,6 +2132,7 @@ void I_Quit(void)
|
|||
printf("\r");
|
||||
ShowEndTxt();
|
||||
}
|
||||
free(myargv); // Deallocate allocated memory
|
||||
death:
|
||||
W_Shutdown();
|
||||
exit(0);
|
||||
|
|
|
@ -2301,6 +2301,7 @@ void I_Quit(void)
|
|||
printf("\r");
|
||||
ShowEndTxt();
|
||||
}
|
||||
free(myargv); // Deallocate allocated memory
|
||||
death:
|
||||
W_Shutdown();
|
||||
#ifdef GP2X
|
||||
|
|
|
@ -771,6 +771,7 @@ void I_Quit(void)
|
|||
ShowEndTxt(co);
|
||||
}
|
||||
fflush(stderr);
|
||||
free(myargv); // Deallocate allocated memory
|
||||
W_Shutdown();
|
||||
exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue