diff options
author | Vedansh Bhartia <vedanshbhartia@gmail.com> | 2023-06-07 19:32:40 +0200 |
---|---|---|
committer | Vedansh Bhartia <vedanshbhartia@gmail.com> | 2023-06-07 19:32:40 +0200 |
commit | 1e5aa750f02ee88848b83dac3e034ee2622ddb6b (patch) | |
tree | e59c7682fb8e24aabbf34c568b9d267d2dcff500 /src/rgw/rgw_d3n_cacherequest.h | |
parent | Merge PR #47752 into main (diff) | |
download | ceph-1e5aa750f02ee88848b83dac3e034ee2622ddb6b.tar.xz ceph-1e5aa750f02ee88848b83dac3e034ee2622ddb6b.zip |
rgw: Add coverity annotations for resource leak false positives
Signed-off-by: Vedansh Bhartia <vedanshbhartia@gmail.com>
Diffstat (limited to 'src/rgw/rgw_d3n_cacherequest.h')
-rw-r--r-- | src/rgw/rgw_d3n_cacherequest.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_d3n_cacherequest.h b/src/rgw/rgw_d3n_cacherequest.h index d58359c5e84..48fdbe168bb 100644 --- a/src/rgw/rgw_d3n_cacherequest.h +++ b/src/rgw/rgw_d3n_cacherequest.h @@ -114,6 +114,7 @@ struct D3nL1CacheRequest { auto ec = boost::system::error_code{-ret, boost::system::system_category()}; ceph::async::post(std::move(p), ec, bufferlist{}); } else { + // coverity[RESOURCE_LEAK:FALSE] (void)p.release(); } return init.result.get(); |