summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/protocol/server/src/server-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c
index a639a780b8a..385e5b70ee8 100644
--- a/xlators/protocol/server/src/server-helpers.c
+++ b/xlators/protocol/server/src/server-helpers.c
@@ -29,7 +29,7 @@ gid_resolve (server_conf_t *conf, call_stack_t *root)
struct passwd mypw;
char mystrs[1024];
struct passwd *result;
- gid_t *mygroups;
+ gid_t *mygroups = NULL;
gid_list_t gl;
const gid_list_t *agl;
int ngroups;