summaryrefslogtreecommitdiffstats
path: root/xlators/meta/src/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/meta/src/tree.c')
-rw-r--r--xlators/meta/src/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/meta/src/tree.c b/xlators/meta/src/tree.c
index cad5cbd71..2ea99fa5b 100644
--- a/xlators/meta/src/tree.c
+++ b/xlators/meta/src/tree.c
@@ -123,7 +123,7 @@ lookup_meta_entry (meta_dirent_t *root, const char *path,
gf_asprintf (remain, "/%s/%s", *remain, piece);
else
gf_asprintf (remain, "/%s", piece);
- if (tmp) GF_FREE (tmp);
+ GF_FREE (tmp);
piece = strtok (NULL, "/");
}
}