mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
#15 Fixed some of the worst memory leaks
This commit is contained in:
@@ -146,6 +146,10 @@ void repl() {
|
||||
initInterpreter(&interpreter);
|
||||
|
||||
for(;;) {
|
||||
if (command.verbose) {
|
||||
//print the used memory footprint
|
||||
printf("%d ", getAllocatedMemoryCount());
|
||||
}
|
||||
printf("> ");
|
||||
fgets(input, size, stdin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user