summaryrefslogtreecommitdiff
path: root/src/dht/dht_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/dht_api.c')
-rw-r--r--src/dht/dht_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c
index 19aa58a35..96399cb5a 100644
--- a/src/dht/dht_api.c
+++ b/src/dht/dht_api.c
@@ -1258,8 +1258,7 @@ GNUNET_DHT_monitor_stop (struct GNUNET_DHT_MonitorHandle *mh)
}
GNUNET_MQ_send (handle->mq,
env);
- if (NULL != mh->key)
- GNUNET_free (mh->key);
+ GNUNET_free (mh->key);
GNUNET_free (mh);
}