diff options
Diffstat (limited to 'xlators/features/read-only/src/worm-helper.c')
-rw-r--r-- | xlators/features/read-only/src/worm-helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/read-only/src/worm-helper.c b/xlators/features/read-only/src/worm-helper.c index 61aa4f02651..425e48123b1 100644 --- a/xlators/features/read-only/src/worm-helper.c +++ b/xlators/features/read-only/src/worm-helper.c @@ -62,7 +62,7 @@ worm_init_state (xlator_t *this, gf_boolean_t fop_with_fd, void *file_ptr) NULL); out: if (dict) - dict_destroy (dict); + dict_unref (dict); return ret; } @@ -283,7 +283,7 @@ gf_worm_set_xattr (xlator_t *this, worm_reten_state_t *reten_state, NULL); out: if (dict) - dict_destroy (dict); + dict_unref (dict); return ret; } @@ -410,4 +410,4 @@ is_wormfile (xlator_t *this, gf_boolean_t fop_with_fd, void *file_ptr) dict_unref (dict); } return ret; -}
\ No newline at end of file +} |