diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-07-07 16:53:20 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-07-08 09:57:03 +0300 |
commit | 4d70d9b47fb3353e3cf38954b556f0d0680e984a (patch) | |
tree | 8ede52167eac2634164afe5f81a97769a3be9eb1 /src | |
parent | e068546ae5c204e3dade838ab7433ff3e07ea161 (diff) |
Fix mem leak
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/accountsettings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 6d46fe46a..526672287 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -360,6 +360,8 @@ void AccountSettings::slotCustomContextMenuRequested(const QPoint &pos) } } menu->popup(QCursor::pos()); + } else { + menu->deleteLater(); } } |