diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-08-29 07:20:33 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-08-29 07:20:33 +0000 |
commit | b4332b283e0747767c279e88a6710f9da65cf33e (patch) | |
tree | 387aeb4823af0443f5af9fd1b2a1dd081ff7b036 /src/transport/plugin_transport_http_client.c | |
parent | b979e54362ae2bd7aae70c0bda0e7b1a5e90af02 (diff) | |
download | gnunet-b4332b283e0747767c279e88a6710f9da65cf33e.tar.gz gnunet-b4332b283e0747767c279e88a6710f9da65cf33e.zip |
coverity 10259
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 5 |
1 files 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 | |||
428 | client_delete_session (struct Session *s) | 428 | client_delete_session (struct Session *s) |
429 | { | 429 | { |
430 | struct HTTP_Client_Plugin *plugin = s->plugin; | 430 | struct HTTP_Client_Plugin *plugin = s->plugin; |
431 | struct HTTP_Message *pos = s->msg_head; | 431 | struct HTTP_Message *pos; |
432 | struct HTTP_Message *next = NULL; | 432 | struct HTTP_Message *next; |
433 | 433 | ||
434 | client_stop_session_timeout (s); | 434 | client_stop_session_timeout (s); |
435 | 435 | ||
436 | GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s); | 436 | GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s); |
437 | 437 | ||
438 | next = s->msg_head; | ||
438 | while (NULL != (pos = next)) | 439 | while (NULL != (pos = next)) |
439 | { | 440 | { |
440 | next = pos->next; | 441 | next = pos->next; |