diff options
Diffstat (limited to 'libglusterfs/src/fd.c')
-rw-r--r-- | libglusterfs/src/fd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libglusterfs/src/fd.c b/libglusterfs/src/fd.c index 3a7a59278..fede42a74 100644 --- a/libglusterfs/src/fd.c +++ b/libglusterfs/src/fd.c @@ -1057,9 +1057,7 @@ unlock: } out: - if (fd_ctx != NULL) { - GF_FREE (fd_ctx); - } + GF_FREE (fd_ctx); return; } |