[X2Go-Commits] [x2goclient] 02/02: src/onmainwindow.cpp: fix another leaked X2goSettings object.
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 10 07:47:16 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit c2bd0ed2229839663ef7cec5d3f12230177df5b9
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Jan 10 07:45:32 2018 +0100
src/onmainwindow.cpp: fix another leaked X2goSettings object.
---
debian/changelog | 1 +
src/onmainwindow.cpp | 2 ++
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0453a13..9c576bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ x2goclient (4.1.1.1-0x2go1) UNRELEASED; urgency=medium
x2gostartagent as an environment variable based upon the xinerama
session setting. Has no effect when connecting to older X2Go Server
versions and handles startup correctly with X2Go Server 4.1.0.0.
+ - src/onmainwindow.cpp: fix another leaked X2goSettings object.
[ Oleksandr Shneyder ]
* New upstream version (4.1.1.1):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 97b5039..34e3d43 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -11424,6 +11424,7 @@ void ONMainWindow::slotFindProxyWin()
{
uint disp=st->setting()->value ( sid+"/display",
( QVariant ) 1 ).toUInt();
+ delete st;
if (disp>displays)
{
disp=1;
@@ -11433,6 +11434,7 @@ void ONMainWindow::slotFindProxyWin()
return;
}
#endif
+ delete st;
}
if (xinerama)
{
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list