From: Steinar H. Gunderson Date: Tue, 16 Apr 2013 20:38:20 +0000 (+0200) Subject: Fix another minor leak. X-Git-Tag: 1.0.0~84 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=0f8e26eb85f86b7b543243f8e98938eeec909e31 Fix another minor leak. --- diff --git a/main.cpp b/main.cpp index 9514270..55548ba 100644 --- 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();