aboutsummaryrefslogtreecommitdiff
path: root/src/lib/eventloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eventloop.c')
-rw-r--r--src/lib/eventloop.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c
index bf212b29..4cb0fca5 100644
--- a/src/lib/eventloop.c
+++ b/src/lib/eventloop.c
@@ -497,8 +497,7 @@ gnunet_gtk_select (void *cls, struct GNUNET_NETWORK_FDSet *rfds,
497 } 497 }
498 } 498 }
499 } 499 }
500 GNUNET_CONTAINER_slist_iter_destroy (&t); 500
501
502 if ((rfds != NULL) && (rfds->sds.fd_count > 0)) 501 if ((rfds != NULL) && (rfds->sds.fd_count > 0))
503 { 502 {
504#if DEBUG_EVENTLOOP 503#if DEBUG_EVENTLOOP
@@ -722,7 +721,6 @@ gnunet_gtk_select (void *cls, struct GNUNET_NETWORK_FDSet *rfds,
722 break; 721 break;
723 } 722 }
724 } 723 }
725 GNUNET_CONTAINER_slist_iter_destroy (&t);
726 } 724 }
727 } 725 }
728 else if (waitstatus <= 0) 726 else if (waitstatus <= 0)
@@ -784,7 +782,6 @@ gnunet_gtk_select (void *cls, struct GNUNET_NETWORK_FDSet *rfds,
784 if (fh->type == GNUNET_PIPE) 782 if (fh->type == GNUNET_PIPE)
785 CancelIo (fh->h); 783 CancelIo (fh->h);
786 } 784 }
787 GNUNET_CONTAINER_slist_iter_destroy (&t);
788 GNUNET_NETWORK_fdset_zero (rfds); 785 GNUNET_NETWORK_fdset_zero (rfds);
789 if (select_ret != -1 && socks > 0) 786 if (select_ret != -1 && socks > 0)
790 GNUNET_NETWORK_fdset_copy_native (rfds, &aread, select_ret); 787 GNUNET_NETWORK_fdset_copy_native (rfds, &aread, select_ret);