From 6085ccd43f7b2b6e3889557a0bf8ab734079055e Mon Sep 17 00:00:00 2001 From: thunder2 Date: Fri, 29 Aug 2014 11:22:54 +0000 Subject: [PATCH] Fixed crash in GxsIdChooser. The TokenQueue was not deleted in the destructor. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7499 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/gxs/GxsIdChooser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/retroshare-gui/src/gui/gxs/GxsIdChooser.cpp b/retroshare-gui/src/gui/gxs/GxsIdChooser.cpp index 3428b84d4..3b540db1c 100644 --- a/retroshare-gui/src/gui/gxs/GxsIdChooser.cpp +++ b/retroshare-gui/src/gui/gxs/GxsIdChooser.cpp @@ -73,6 +73,10 @@ GxsIdChooser::GxsIdChooser(QWidget *parent) GxsIdChooser::~GxsIdChooser() { + if (mIdQueue) { + delete(mIdQueue); + mIdQueue = NULL; + } } void GxsIdChooser::setUpdateWhenInvisible(bool update)