fix: memory leak

This commit is contained in:
Simon Wiesend 2025-11-30 12:15:06 +01:00
parent 5050836020
commit fc3933a993
Signed by: wiesendsi102436
GPG Key ID: C18A833054142CF0

1
main.c
View File

@ -87,6 +87,7 @@ int main(int argc, char *argv[])
saveHighscores(highscorePath); saveHighscores(highscorePath);
clearHighscores(); clearHighscores();
free(numbers);
exitCode = EXIT_SUCCESS; exitCode = EXIT_SUCCESS;
} }