mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Deallocate when I_Quit() is called instead.
This commit is contained in:
parent
78d4f90747
commit
492eeb7009
3 changed files with 3 additions and 0 deletions
|
|
@ -2132,6 +2132,7 @@ void I_Quit(void)
|
||||||
printf("\r");
|
printf("\r");
|
||||||
ShowEndTxt();
|
ShowEndTxt();
|
||||||
}
|
}
|
||||||
|
free(myargv); // Deallocate allocated memory
|
||||||
death:
|
death:
|
||||||
W_Shutdown();
|
W_Shutdown();
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
|
||||||
|
|
@ -2301,6 +2301,7 @@ void I_Quit(void)
|
||||||
printf("\r");
|
printf("\r");
|
||||||
ShowEndTxt();
|
ShowEndTxt();
|
||||||
}
|
}
|
||||||
|
free(myargv); // Deallocate allocated memory
|
||||||
death:
|
death:
|
||||||
W_Shutdown();
|
W_Shutdown();
|
||||||
#ifdef GP2X
|
#ifdef GP2X
|
||||||
|
|
|
||||||
|
|
@ -771,6 +771,7 @@ void I_Quit(void)
|
||||||
ShowEndTxt(co);
|
ShowEndTxt(co);
|
||||||
}
|
}
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
free(myargv); // Deallocate allocated memory
|
||||||
W_Shutdown();
|
W_Shutdown();
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue