projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb5899
)
NULL-initialize array pointers
author
lurchi
<lurchi@strangeplace.net>
Thu, 24 Aug 2017 18:38:15 +0000
(20:38 +0200)
committer
lurchi
<lurchi@strangeplace.net>
Thu, 24 Aug 2017 18:38:15 +0000
(20:38 +0200)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 5e8d0844c9dd833b8e9ff09b49d34e6c232dbea4..51833a78b8d39001f38a86a6136a848ea21f3a4f 100644
(file)
--- a/
src/util/scheduler.c
+++ b/
src/util/scheduler.c
@@
-1733,6
+1733,10
@@
GNUNET_SCHEDULER_add_select (enum GNUNET_SCHEDULER_Priority prio,
t->read_fd = -1;
t->write_fd = -1;
t->own_handlers = GNUNET_YES;
+ read_nhandles = NULL;
+ write_nhandles = NULL;
+ read_fhandles = NULL;
+ write_fhandles = NULL;
read_nhandles_len = 0;
write_nhandles_len = 0;
read_fhandles_len = 0;