aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceCreationTask.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-21 01:46:28 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-21 01:46:28 -0700
commit1b3ff96ffd3a249d2b4b278a4afc2714038560d7 (patch)
tree583e4d9dc9ba48f4922648b9a4d017ee926fa81d /launcher/InstanceCreationTask.h
parentd5c6a1b4d1e6d052e42366d19ffa0047168e030d (diff)
downloadPrismLauncher-1b3ff96ffd3a249d2b4b278a4afc2714038560d7.tar.gz
PrismLauncher-1b3ff96ffd3a249d2b4b278a4afc2714038560d7.tar.bz2
PrismLauncher-1b3ff96ffd3a249d2b4b278a4afc2714038560d7.zip
fix: memory leak with NetJob and responce not getting cleaned up
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/InstanceCreationTask.h')
-rw-r--r--launcher/InstanceCreationTask.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/InstanceCreationTask.h b/launcher/InstanceCreationTask.h
index 03ee1a7a..380fdf8a 100644
--- a/launcher/InstanceCreationTask.h
+++ b/launcher/InstanceCreationTask.h
@@ -34,7 +34,7 @@ class InstanceCreationTask : public InstanceTask {
QString getError() const { return m_error_message; }
protected:
- void setError(QString message) { m_error_message = message; };
+ void setError(const QString& message) { m_error_message = message; };
protected:
bool m_abort = false;