From 74a195e475e893eb2ed0f814f88a1d726ad50114 Mon Sep 17 00:00:00 2001 From: Sheetal Pamecha Date: Sun, 26 Jul 2020 17:06:55 +0530 Subject: glusterd: fix resource leak CID: 1430146 Change-Id: Icce4ffa0e78575b110e0cfd9d5cfd133141680c1 Updates: #1060 Signed-off-by: Sheetal Pamecha --- xlators/mgmt/glusterd/src/glusterd-utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/mgmt/glusterd') diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index b1c3a49574..f1dd44babd 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -14792,6 +14792,7 @@ out: free(ai_list_tmp2); ai_list_tmp2 = ai_list_tmp1; } + free(ai_list); free(ai_list_tmp2); gf_msg_debug("glusterd", 0, "Returning %d", ret); return ret; -- cgit