diff options
Diffstat (limited to 'glusterfsd')
| -rw-r--r-- | glusterfsd/src/glusterfsd.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index ab0f323e6..e383f96fd 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -73,6 +73,7 @@  #include "syscall.h"  #include "call-stub.h"  #include <fnmatch.h> +#include "rpc-clnt.h"  #ifdef GF_DARWIN_HOST_OS  #include "daemon.h" @@ -644,6 +645,8 @@ cleanup_and_exit (int signum)          /* TODO: is this the right place? */          glusterfs_mgmt_pmap_signout (ctx); +        if (ctx && ctx->mgmt) +                rpc_clnt_destroy (ctx->mgmt);          gf_log ("glusterfsd", GF_LOG_NORMAL, "shutting down");  | 
