]> git.sesse.net Git - cubemap/blobdiff - main.cpp
Fix another minor leak.
[cubemap] / main.cpp
index 95142707f572b2cb9d4e8ab7d54d95911d8c9cac..55548bae91e832c02450a2196bf9778cea39453f 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();