[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: Fix memory leak in select_l
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: Fix memory leak in select_loop |
Date: |
Tue, 02 Jan 2018 02:18:28 +0100 |
This is an automated email from the git hooks/post-receive script.
david-barksdale pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 955c05a94 Fix memory leak in select_loop
955c05a94 is described below
commit 955c05a94229ee790afe8981287365daa06c6db9
Author: David Barksdale <address@hidden>
AuthorDate: Mon Jan 1 19:16:47 2018 -0600
Fix memory leak in select_loop
---
src/util/scheduler.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/util/scheduler.c b/src/util/scheduler.c
index 9bd776517..b96e4e6c4 100644
--- a/src/util/scheduler.c
+++ b/src/util/scheduler.c
@@ -2277,6 +2277,8 @@ select_loop (void *cls,
}
#endif
GNUNET_assert (0);
+ GNUNET_NETWORK_fdset_destroy (rs);
+ GNUNET_NETWORK_fdset_destroy (ws);
return GNUNET_SYSERR;
}
for (pos = context->scheduled_head; NULL != pos; pos = pos->next)
@@ -2302,6 +2304,8 @@ select_loop (void *cls,
tasks_ready = GNUNET_SCHEDULER_run_from_driver (sh);
GNUNET_assert (GNUNET_SYSERR != tasks_ready);
}
+ GNUNET_NETWORK_fdset_destroy (rs);
+ GNUNET_NETWORK_fdset_destroy (ws);
return GNUNET_OK;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: Fix memory leak in select_loop,
gnunet <=