diff options
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
| -rw-r--r-- | xlators/storage/posix/src/posix.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 81845f81795..a4f8d93b44b 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -4990,11 +4990,13 @@ unlock:                  array = NULL;          } -        array = NULL; -  out:          if (op_ret < 0)                  filler->op_errno = op_errno; + +        if (array) +                GF_FREE (array); +          return op_ret;  }  | 
