From: Nathan S. Evans Date: Tue, 16 Nov 2010 17:36:25 +0000 (+0000) Subject: bad free X-Git-Tag: initial-import-from-subversion-38251~19716 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3cffed95316a68bbdf383a779b484ae8a0262fec;p=oweals%2Fgnunet.git bad free --- diff --git a/src/dht/gnunet-dht-driver.c b/src/dht/gnunet-dht-driver.c index c6666b23d..5cf0ec2bc 100644 --- a/src/dht/gnunet-dht-driver.c +++ b/src/dht/gnunet-dht-driver.c @@ -2758,7 +2758,7 @@ run (void *cls, buf = &data[count + 1]; } } - GNUNET_free(data); + GNUNET_free_non_null(data); if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number (cfg, "dht_testing", "malicious_getters", &malicious_getters))