summaryrefslogtreecommitdiffstats
path: root/source/lib/replace.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-09-17 02:19:44 +0000
committerSimo Sorce <idra@samba.org>2001-09-17 02:19:44 +0000
commit60e907b7e8e1c008463a88ed2b076344278986ef (patch)
tree4ee87af16f736e14a0284f0ef1433b6d833a1380 /source/lib/replace.c
parent89833bbbd8508dcdca70dff2c94e1d8f22535f1f (diff)
downloadsamba-60e907b7e8e1c008463a88ed2b076344278986ef.tar.gz
samba-60e907b7e8e1c008463a88ed2b076344278986ef.tar.xz
samba-60e907b7e8e1c008463a88ed2b076344278986ef.zip
move to SAFE_FREE()
Diffstat (limited to 'source/lib/replace.c')
-rw-r--r--source/lib/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/replace.c b/source/lib/replace.c
index 45c302f498a..e1871a6f558 100644
--- a/source/lib/replace.c
+++ b/source/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 */
}