summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-03-30 12:26:24 +0200
committerPetr Mrázek <peterix@gmail.com>2014-03-30 20:11:41 +0200
commite1e1d99102936b419aac52974f1fdb8be835b0d4 (patch)
treefd59107990566d0e42f82b16610f60be0a28d19f /package
parent7cb76788bd5d1aa35ce38122efa4fdba4433d046 (diff)
downloadMultiMC-e1e1d99102936b419aac52974f1fdb8be835b0d4.tar
MultiMC-e1e1d99102936b419aac52974f1fdb8be835b0d4.tar.gz
MultiMC-e1e1d99102936b419aac52974f1fdb8be835b0d4.tar.lz
MultiMC-e1e1d99102936b419aac52974f1fdb8be835b0d4.tar.xz
MultiMC-e1e1d99102936b419aac52974f1fdb8be835b0d4.zip
Fix java checker crash, some memory leaks
Diffstat (limited to 'package')
-rwxr-xr-xpackage/linux/MultiMC3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/linux/MultiMC b/package/linux/MultiMC
index 3579913c..80225e53 100755
--- a/package/linux/MultiMC
+++ b/package/linux/MultiMC
@@ -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