diff --git a/src/main.c b/src/main.c index a97c6bad..ddcca195 100644 --- a/src/main.c +++ b/src/main.c @@ -681,6 +681,7 @@ int main(int argc, char *argv[]) { filescanner_deinit(); mdns_deinit(); + db_deinit(); exit(EXIT_FAILURE); } @@ -742,6 +743,7 @@ int main(int argc, char *argv[]) { filescanner_deinit(); mdns_deinit(); + db_deinit(); exit(EXIT_FAILURE); }