aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--singleapplication.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/singleapplication.cpp b/singleapplication.cpp
index 7857440..bb50f49 100644
--- a/singleapplication.cpp
+++ b/singleapplication.cpp
@@ -239,6 +239,7 @@ void SingleApplicationPrivate::cleanUp() {
InstancesInfo* inst = (InstancesInfo*)memory->data();
if( server != nullptr ) {
server->close();
+ delete server;
inst->primary = false;
}
memory->unlock();