summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance_p.h
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 /logic/BaseInstance_p.h
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 'logic/BaseInstance_p.h')
-rw-r--r--logic/BaseInstance_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/BaseInstance_p.h b/logic/BaseInstance_p.h
index 8cf3b27d..edaee7d7 100644
--- a/logic/BaseInstance_p.h
+++ b/logic/BaseInstance_p.h
@@ -28,6 +28,6 @@ struct BaseInstancePrivate
{
QString m_rootDir;
QString m_group;
- SettingsObject *m_settings;
+ std::shared_ptr<SettingsObject> m_settings;
QSet<BaseInstance::InstanceFlag> m_flags;
};