diff options
author | Sage Weil <sage@inktank.com> | 2013-07-27 08:17:10 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-27 08:22:25 +0200 |
commit | a31356338b8ae55df59d829d9080ffad70b97d10 (patch) | |
tree | 9cb6a6db00c1bd095ec91f4ff48986558c029be0 /src/rgw/rgw_resolve.h | |
parent | rgw: fix up signal handling (diff) | |
download | ceph-a31356338b8ae55df59d829d9080ffad70b97d10.tar.xz ceph-a31356338b8ae55df59d829d9080ffad70b97d10.zip |
rgw: free resolver on shutdown
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/rgw/rgw_resolve.h')
-rw-r--r-- | src/rgw/rgw_resolve.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rgw/rgw_resolve.h b/src/rgw/rgw_resolve.h index 164a31a0215..3b29ba580fe 100644 --- a/src/rgw/rgw_resolve.h +++ b/src/rgw/rgw_resolve.h @@ -8,14 +8,15 @@ class RGWDNSResolver; class RGWResolver { RGWDNSResolver *resolver; - ~RGWResolver(); public: + ~RGWResolver(); RGWResolver(); int resolve_cname(const string& hostname, string& cname, bool *found); }; extern void rgw_init_resolver(void); +extern void rgw_shutdown_resolver(void); extern RGWResolver *rgw_resolver; #endif |