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();