libgfapi: add missing unref of mgmt client in glfs_fini
Change-Id: I89cdf14cb9d822eaf7c01cf0b0220b423eb5b705 fixes: bz#1607689 Signed-off-by: Zhang Huan <zhanghuan@open-fs.com>
This commit is contained in:
parent
7f7296d1f5
commit
a6b5ec5cb5
@ -1266,6 +1266,7 @@ pub_glfs_fini (struct glfs *fs)
|
||||
|
||||
if (ctx->mgmt) {
|
||||
rpc_clnt_disable (ctx->mgmt);
|
||||
rpc_clnt_unref (ctx->mgmt);
|
||||
ctx->mgmt = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user