summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/server/src/server.c')
-rw-r--r--xlators/protocol/server/src/server.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index e551fd757a1..04faee290ea 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -421,11 +421,10 @@ _check_for_auth_option (dict_t *d, char *k, data_t *v,
else
addr = NULL;
}
-
- GF_FREE (tmp_addr_list);
- tmp_addr_list = NULL;
}
out:
+ GF_FREE (tmp_addr_list);
+
return ret;
}