From: Kefu Chai Date: Tue, 15 Nov 2016 06:42:35 +0000 (+0800) Subject: test_cors.cc: fix the mem leak X-Git-Tag: v10.2.8~63^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f1c0042b831826e5bd72ada79a4918a9c26bda24;p=ceph.git test_cors.cc: fix the mem leak Signed-off-by: Kefu Chai (cherry picked from commit c8a3777203482cabf6739a8ba69b127df8697628) --- diff --git a/src/test/test_cors.cc b/src/test/test_cors.cc index 372988f17263..12cb43a6fabb 100644 --- a/src/test/test_cors.cc +++ b/src/test/test_cors.cc @@ -904,6 +904,8 @@ int main(int argc, char *argv[]){ } #endif finisher->stop(); + delete g_test; + delete finisher; return 0; }