diff options
Diffstat (limited to 'xlators/cluster/stripe/src')
| -rw-r--r-- | xlators/cluster/stripe/src/stripe.c | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index a29409a03f2..197bc50f456 100644 --- a/xlators/cluster/stripe/src/stripe.c +++ b/xlators/cluster/stripe/src/stripe.c @@ -3241,7 +3241,12 @@ fini (xlator_t *this)  {  	stripe_private_t *priv = this->private;  	struct stripe_options *prev = NULL; -	struct stripe_options *trav = priv->pattern; +	struct stripe_options *trav = NULL; + +        if (priv == NULL) +                return; + +        trav = priv->pattern;  	while (trav) {  		prev = trav;  		trav = trav->next;  | 
