From 621873570519f6536440a2407224cf17ec2141e8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 30 Jan 2010 14:24:17 +0100 Subject: [PATCH 1/1] client: Remove the buffer tree node on errors. This fixes restarting of the status client task in case para_server is being restarted. --- client_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client_common.c b/client_common.c index ded01b13..934758dd 100644 --- a/client_common.c +++ b/client_common.c @@ -404,6 +404,7 @@ out: free(home); if (ret < 0) { PARA_ERROR_LOG("%s\n", para_strerror(-ret)); + btr_remove_node(ct->btrn); btr_free_node(ct->btrn); client_close(ct); *ct_ptr = NULL; -- 2.39.2