From 6614d9299ac02b3f8b12f0921a660341a7a7ccfe Mon Sep 17 00:00:00 2001 From: songhao Date: Thu, 20 Dec 2018 17:39:56 +0800 Subject: [PATCH] 1 --- cpp/tglog.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/tglog.cc b/cpp/tglog.cc index 9481234..e361537 100644 --- a/cpp/tglog.cc +++ b/cpp/tglog.cc @@ -129,6 +129,8 @@ namespace f8 impl_->save_cond->notify_all(); } } + delete xobj; + xobj = nullptr; } void TGLog::SaveToFileThreadProc()