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:
e439101
)
- fix for mantis 2273
author
Matthias Wachs
<wachs@net.in.tum.de>
Thu, 26 Apr 2012 08:00:03 +0000
(08:00 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Thu, 26 Apr 2012 08:00:03 +0000
(08:00 +0000)
src/statistics/statistics_api.c
patch
|
blob
|
history
diff --git
a/src/statistics/statistics_api.c
b/src/statistics/statistics_api.c
index 8b61a3bc91f804cec67fe3ce91071c0719b15768..98316bafd66b7b3341ea3bd84ba2936004e29c73 100644
(file)
--- a/
src/statistics/statistics_api.c
+++ b/
src/statistics/statistics_api.c
@@
-1140,6
+1140,8
@@
GNUNET_STATISTICS_watch_cancel (struct GNUNET_STATISTICS_Handle *handle,
for (i=0;i<handle->watches_size;i++)
{
w = handle->watches[i];
+ if (NULL == w)
+ continue;
if ( (w->proc == proc) &&
(w->proc_cls == proc_cls) &&
(0 == strcmp (w->name, name)) &&