From b4332b283e0747767c279e88a6710f9da65cf33e Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 29 Aug 2012 07:20:33 +0000 Subject: [PATCH] coverity 10259 --- src/transport/plugin_transport_http_client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index f9863c2e9..c1f00bf89 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c @@ -428,13 +428,14 @@ void client_delete_session (struct Session *s) { struct HTTP_Client_Plugin *plugin = s->plugin; - struct HTTP_Message *pos = s->msg_head; - struct HTTP_Message *next = NULL; + struct HTTP_Message *pos; + struct HTTP_Message *next; client_stop_session_timeout (s); GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s); + next = s->msg_head; while (NULL != (pos = next)) { next = pos->next; -- 2.25.1