diff options
Diffstat (limited to 'glusterfsd/src/glusterfsd-mgmt.c')
-rw-r--r-- | glusterfsd/src/glusterfsd-mgmt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 69c049d6793..d4201b38ecb 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -1380,7 +1380,8 @@ out: free (rsp.spec); - emancipate (ctx, ret); + if (ctx) + emancipate (ctx, ret); // Stop if server is running at an unsupported op-version if (ENOTSUP == ret) { |