From b0295ba1013465affb0b4788fed0d1b1f6261c3f Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 23 Dec 2011 11:57:43 +0100 Subject: [PATCH] Missing release on show records watch release --- src/http_command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/http_command.c b/src/http_command.c index 1752131..f50881f 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -204,7 +204,7 @@ void http_session_destroy(struct http_session *s) nmem_destroy(s->nmem); } else { - yaz_log(http_sessions->log_level, "Session %u destroyed delayed. Active clients (%d-%d). Waiting for new timeout.", + yaz_log(http_sessions->log_level, "Session %u destroying delayed. Active clients (%d-%d). Waiting for new timeout.", s->session_id, s->activity_counter, s->destroy_counter); } @@ -1060,6 +1060,7 @@ static void show_records_ready(void *data) else { /* some error message */ } + release_session(c,s); } static void cmd_show(struct http_channel *c) -- 1.7.10.4