From 4accf5836251cbf348cac193ba108ea67c6888b3 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 21 May 2012 14:13:05 +0530 Subject: protocol/client: free the 'loc2' variable of client_local in common client_local_wipe(), local->loc2 was not getting freed up, but its used in few functions for logging purpose. Change-Id: I05715843b59aa216a79f5164a152c605dc9ad114 Signed-off-by: Amar Tumballi BUG: 823133 Reviewed-on: http://review.gluster.com/3388 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/protocol/client/src/client-helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/protocol') diff --git a/xlators/protocol/client/src/client-helpers.c b/xlators/protocol/client/src/client-helpers.c index 3efadeae2..a0a006123 100644 --- a/xlators/protocol/client/src/client-helpers.c +++ b/xlators/protocol/client/src/client-helpers.c @@ -123,6 +123,7 @@ client_local_wipe (clnt_local_t *local) { if (local) { loc_wipe (&local->loc); + loc_wipe (&local->loc2); if (local->fd) { fd_unref (local->fd); -- cgit