diff options
Diffstat (limited to 'xlators/storage')
| -rw-r--r-- | xlators/storage/posix/src/posix.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index ef5dae218bb..51e4230ae18 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -4438,6 +4438,9 @@ void  fini (xlator_t *this)  {          struct posix_private *priv = this->private; +        if (!priv) +                return; +        this->private = NULL;          sys_lremovexattr (priv->base_path, "trusted.glusterfs.test");          GF_FREE (priv);          return;  | 
