]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix potential memory leaks in RGWPutCORS_ObjStore_S3::get_params
authorYan Jun <yan.jun8@zte.com.cn>
Tue, 28 Jun 2016 08:17:58 +0000 (16:17 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Tue, 28 Jun 2016 08:17:58 +0000 (16:17 +0800)
commit69c6cf551754e51debb4e645716a89e29517f4ee
treede51b89ee3842b5dfed5403ccfa408f42e7809f7
parent5de4a9cef6d914f41a35f02fbcd55c05fd705e7a
rgw: fix potential memory leaks in RGWPutCORS_ObjStore_S3::get_params

We should free `data` before return or jump to `done_err` label.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/rgw/rgw_rest_s3.cc