summaryrefslogtreecommitdiff
path: root/source3/lib/replace.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/replace.c')
-rw-r--r--source3/lib/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace.c b/source3/lib/replace.c
index 45c302f498..e1871a6f55 100644
--- a/source3/lib/replace.c
+++ b/source3/lib/replace.c
@@ -194,7 +194,7 @@ Corrections by richard.kettlewell@kewill.com
}
endgrent();
ret = sys_setgroups(i,grouplst);
- free((char *)grouplst);
+ SAFE_FREE(grouplst);
return ret;
#endif /* HAVE_SETGROUPS */
}