From 2fd62147eaec648b941c79ada21e346715d3d83b Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 29 Jul 2008 16:51:06 +0000 Subject: [PATCH] remove redundant zero set of xmalloc'ed buffer --- src/slurmctld/partition_mgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/slurmctld/partition_mgr.c b/src/slurmctld/partition_mgr.c index bccfd0d4107..7876a88ed02 100644 --- a/src/slurmctld/partition_mgr.c +++ b/src/slurmctld/partition_mgr.c @@ -1072,7 +1072,6 @@ uid_t *_get_group_members(char *group_name) uid_cnt = i; group_uids = (uid_t *) xmalloc(sizeof(uid_t) * (uid_cnt + 1)); - memset(group_uids, 0, (sizeof(uid_t) * (uid_cnt + 1))); j = 0; for (i = 0; i < uid_cnt; i++) { -- GitLab