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)