aboutsummaryrefslogtreecommitdiff
path: root/networkaccessmanager.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-26 11:09:34 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-26 11:09:34 +0900
commit979756e26af57e715efe64f8de8068243fa27e9f (patch)
treeb343cfba18f1a69ccd934b7d060cdf2187ba70f3 /networkaccessmanager.h
parent4bb5f23d1b70136769a8df76907acb75aa824af9 (diff)
downloadlibquotient-979756e26af57e715efe64f8de8068243fa27e9f.tar.gz
libquotient-979756e26af57e715efe64f8de8068243fa27e9f.zip
Deal with memory more carefully
Plugs some memory leaks reported by Valgrind.
Diffstat (limited to 'networkaccessmanager.h')
-rw-r--r--networkaccessmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkaccessmanager.h b/networkaccessmanager.h
index ea08c591..ae847582 100644
--- a/networkaccessmanager.h
+++ b/networkaccessmanager.h
@@ -28,7 +28,7 @@ namespace QMatrixClient
{
Q_OBJECT
public:
- NetworkAccessManager();
+ NetworkAccessManager(QObject* parent = nullptr);
~NetworkAccessManager() override;
QList<QSslError> ignoredSslErrors() const;