Fix another minor leak.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 16 Apr 2013 20:38:20 +0000 (22:38 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 16 Apr 2013 20:38:20 +0000 (22:38 +0200)
main.cpp

index 9514270..55548ba 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -406,6 +406,7 @@ start:
 
        if (stats_thread != NULL) {
                stats_thread->stop();
+               delete stats_thread;
        }
        for (size_t i = 0; i < acceptors.size(); ++i) {
                acceptors[i]->stop();