aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/reclaim_api.c
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-06-05 21:11:51 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-06-05 21:11:51 +0200
commitc2eeb2f69ab1f0aa248781bebf04617cf9908e4b (patch)
treec826084216fbc20cde4608fcc780e85e0cae5d8d /src/reclaim/reclaim_api.c
parent46e80662842d7c35386ed2df740ab4bc3292f56d (diff)
downloadgnunet-c2eeb2f69ab1f0aa248781bebf04617cf9908e4b.tar.gz
gnunet-c2eeb2f69ab1f0aa248781bebf04617cf9908e4b.zip
fix use after free; fix memleak
Diffstat (limited to 'src/reclaim/reclaim_api.c')
-rw-r--r--src/reclaim/reclaim_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reclaim/reclaim_api.c b/src/reclaim/reclaim_api.c
index 00ab69579..8c97ba9a2 100644
--- a/src/reclaim/reclaim_api.c
+++ b/src/reclaim/reclaim_api.c
@@ -509,6 +509,7 @@ handle_consume_ticket_result (void *cls,
509 } 509 }
510 GNUNET_CONTAINER_DLL_remove (h->op_head, h->op_tail, op); 510 GNUNET_CONTAINER_DLL_remove (h->op_head, h->op_tail, op);
511 free_op (op); 511 free_op (op);
512 GNUNET_free_non_null (attrs);
512 return; 513 return;
513 } 514 }
514 GNUNET_assert (0); 515 GNUNET_assert (0);