diff options
Diffstat (limited to 'xlators/performance/decompounder/src')
| -rw-r--r-- | xlators/performance/decompounder/src/decompounder.c | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/performance/decompounder/src/decompounder.c b/xlators/performance/decompounder/src/decompounder.c index d3d9b9f7830..095a300e9f4 100644 --- a/xlators/performance/decompounder/src/decompounder.c +++ b/xlators/performance/decompounder/src/decompounder.c @@ -946,5 +946,12 @@ out:  int32_t  fini (xlator_t *this)  { +        if (!this) +                return 0; + +        if (this->local_pool) { +                mem_pool_destroy (this->local_pool); +                this->local_pool = NULL; +        }          return 0;  }  | 
