summaryrefslogtreecommitdiffstats
path: root/xlators/features/access-control
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/access-control')
-rw-r--r--xlators/features/access-control/src/access-control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/access-control/src/access-control.c b/xlators/features/access-control/src/access-control.c
index f90184d1a3a..c13648d3c47 100644
--- a/xlators/features/access-control/src/access-control.c
+++ b/xlators/features/access-control/src/access-control.c
@@ -260,7 +260,7 @@ ac_loc_fill (loc_t *loc, inode_t *inode, inode_t *parent, char *path)
if (parent)
loc->parent = inode_ref (parent);
- loc->path = strdup (path);
+ loc->path = gf_strdup (path);
if (!loc->path) {
gf_log (ACTRL, GF_LOG_ERROR, "strdup failed");
goto loc_wipe;
@@ -312,7 +312,7 @@ err:
inode_unref (parent);
if (resolvedpath)
- FREE (resolvedpath);
+ GF_FREE (resolvedpath);
return ret;
}