From 6060b113f0f49fe9654fe03fc79576e591ed8a43 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 10 Oct 2017 15:39:30 +0200 Subject: rpc: free conn->name in rpc_clnt_destroy() Change-Id: Idf99908aa48718a7faf7f0bbc647a679ec548282 BUG: 1443145 Signed-off-by: Niels de Vos --- rpc/rpc-lib/src/rpc-clnt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'rpc') diff --git a/rpc/rpc-lib/src/rpc-clnt.c b/rpc/rpc-lib/src/rpc-clnt.c index 1ea80991ebe..2fc3b38df2c 100644 --- a/rpc/rpc-lib/src/rpc-clnt.c +++ b/rpc/rpc-lib/src/rpc-clnt.c @@ -1777,6 +1777,7 @@ rpc_clnt_destroy (struct rpc_clnt *rpc) if (!rpc) return; + GF_FREE (rpc->conn.name); saved_frames_destroy (rpc->conn.saved_frames); pthread_mutex_destroy (&rpc->lock); pthread_mutex_destroy (&rpc->conn.lock); -- cgit