aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ed3bfd6..1ce032c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -943,6 +943,7 @@ int main(int argc, char **argv)
// We need to wait until our `ping` packet for disconnecting is sent to all channels
printf("Shutting down...\n");
this_thread::sleep_for(chrono::seconds(3));
+ delete database;
return 0;
}