From: Kefu Chai Date: Tue, 15 Nov 2016 06:42:35 +0000 (+0800) Subject: test_cors.cc: fix the mem leak X-Git-Tag: v11.1.0~158^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c8a3777203482cabf6739a8ba69b127df8697628;p=ceph.git test_cors.cc: fix the mem leak Signed-off-by: Kefu Chai --- diff --git a/src/test/test_cors.cc b/src/test/test_cors.cc index 372988f1726..12cb43a6fab 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; }