]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: fix potential memory leak in HTMLFormatter 20699/head
authorYao Zongyou <yaozongyou@vip.qq.com>
Mon, 5 Mar 2018 02:57:38 +0000 (10:57 +0800)
committerYao Zongyou <yaozongyou@vip.qq.com>
Mon, 5 Mar 2018 02:57:38 +0000 (10:57 +0800)
commit5b3eee102398443cedbea589ea79eb3c5158741c
treea13e3e60753160dd9bb1c92f13ca71be4bad8af6
parent5980993f4b9b45d9010d79009f2c71988f1ceab3
common: fix potential memory leak in HTMLFormatter

If HTMLFormatter::set_status called twice, memory will leaked,
so fix it.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
src/common/HTMLFormatter.cc