Fix java checker crash, some memory leaks

This commit is contained in:
Petr Mrázek
2014-03-30 12:26:24 +02:00
parent 7cb76788bd
commit e1e1d99102
4 changed files with 8 additions and 6 deletions

View File

@ -34,6 +34,9 @@ if [ "x$DEPS_LIST" = "x" ]; then
# Run MultiMC
"${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@
# Run MultiMC in valgrind
# valgrind --log-file="valgrind.log" --leak-check=full --track-origins=yes "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@
# Exit with MultiMC's exit code.
exit $?
else