projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixed string to address parsing
[oweals/gnunet.git]
/
src
/
ats
/
gnunet-service-ats_reservations.c
diff --git
a/src/ats/gnunet-service-ats_reservations.c
b/src/ats/gnunet-service-ats_reservations.c
index f40e54516a0fc90c00640cde2e9b091cfd32f047..d1212dd00f19203d4a024445612777cd8a065894 100644
(file)
--- a/
src/ats/gnunet-service-ats_reservations.c
+++ b/
src/ats/gnunet-service-ats_reservations.c
@@
-94,6
+94,8
@@
GAS_reservations_set_bandwidth (const struct GNUNET_PeerIdentity *peer,
tracker = GNUNET_CONTAINER_multihashmap_get (trackers, &peer->hashPubKey);
if (0 == ntohl (bandwidth_in.value__))
{
+ if (NULL == tracker)
+ return;
GNUNET_assert (GNUNET_YES ==
GNUNET_CONTAINER_multihashmap_remove (trackers,
&peer->hashPubKey,