aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-22 03:41:34 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-22 03:41:37 +0200
commit5edf1087dd226ea384b0747b00c6bf442b8f12fe (patch)
tree01825b1d150cbe201b54296181e6293173a1fda6 /src
parent7edd041e80897dafd583860e75e9443171997e5e (diff)
Update odhtdb
Diffstat (limited to 'src')
-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;
}