summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/common-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c
index 0d850740eee..e745ec0faf3 100644
--- a/libglusterfs/src/common-utils.c
+++ b/libglusterfs/src/common-utils.c
@@ -1783,7 +1783,7 @@ gf_is_str_int (const char *value)
GF_VALIDATE_OR_GOTO ("", value, out);
- str = strdup (value);
+ str = gf_strdup (value);
if (!str)
goto out;