diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-06-05 21:11:51 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-06-05 21:11:51 +0200 |
commit | c2eeb2f69ab1f0aa248781bebf04617cf9908e4b (patch) | |
tree | c826084216fbc20cde4608fcc780e85e0cae5d8d /src/reclaim/plugin_rest_reclaim.c | |
parent | 46e80662842d7c35386ed2df740ab4bc3292f56d (diff) | |
download | gnunet-c2eeb2f69ab1f0aa248781bebf04617cf9908e4b.tar.gz gnunet-c2eeb2f69ab1f0aa248781bebf04617cf9908e4b.zip |
fix use after free; fix memleak
Diffstat (limited to 'src/reclaim/plugin_rest_reclaim.c')
-rw-r--r-- | src/reclaim/plugin_rest_reclaim.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c index 18309e68c..3f2577802 100644 --- a/src/reclaim/plugin_rest_reclaim.c +++ b/src/reclaim/plugin_rest_reclaim.c | |||
@@ -283,10 +283,6 @@ cleanup_handle (struct RequestHandle *handle) | |||
283 | GNUNET_free (ego_tmp->keystring); | 283 | GNUNET_free (ego_tmp->keystring); |
284 | GNUNET_free (ego_tmp); | 284 | GNUNET_free (ego_tmp); |
285 | } | 285 | } |
286 | if (NULL != handle->attr_it) | ||
287 | { | ||
288 | GNUNET_free (handle->attr_it); | ||
289 | } | ||
290 | GNUNET_free (handle); | 286 | GNUNET_free (handle); |
291 | } | 287 | } |
292 | 288 | ||