From: Matthias Wachs Date: Tue, 3 Dec 2013 14:34:45 +0000 (+0000) Subject: check in proportional X-Git-Tag: initial-import-from-subversion-38251~5822 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c7842a761406fd93f4caabd8f61602b0965e423c;p=oweals%2Fgnunet.git check in proportional --- diff --git a/src/ats/libgnunet_plugin_ats_proportional.c b/src/ats/libgnunet_plugin_ats_proportional.c index ab259c118..638a35256 100644 --- a/src/ats/libgnunet_plugin_ats_proportional.c +++ b/src/ats/libgnunet_plugin_ats_proportional.c @@ -1252,6 +1252,13 @@ GAS_proportional_address_delete (void *solver, struct ATS_Address *address, * - update quotas */ asi = address->solver_information; + + if (NULL == asi) + { + GNUNET_break (0); + return; + } + net = asi->network; if (GNUNET_NO == session_only)