aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim-attribute
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-02-06 18:38:02 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-02-09 20:38:11 +0100
commit02daf09b5348ffa894621f59ba0d3497a74ff669 (patch)
tree1a6bb5d7ae751808c8e93c349ac4ba73d00b9aa7 /src/reclaim-attribute
parent5fb277e8d012d687f4d2d032571cd4b57946bbfb (diff)
downloadgnunet-02daf09b5348ffa894621f59ba0d3497a74ff669.tar.gz
gnunet-02daf09b5348ffa894621f59ba0d3497a74ff669.zip
bugfixes
Diffstat (limited to 'src/reclaim-attribute')
-rw-r--r--src/reclaim-attribute/reclaim_attestation.c2
-rw-r--r--src/reclaim-attribute/reclaim_attribute.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/reclaim-attribute/reclaim_attestation.c b/src/reclaim-attribute/reclaim_attestation.c
index fd08b9b12..961c6ede4 100644
--- a/src/reclaim-attribute/reclaim_attestation.c
+++ b/src/reclaim-attribute/reclaim_attestation.c
@@ -388,7 +388,7 @@ GNUNET_RECLAIM_attestation_list_destroy (
388 struct GNUNET_RECLAIM_AttestationListEntry *ale; 388 struct GNUNET_RECLAIM_AttestationListEntry *ale;
389 struct GNUNET_RECLAIM_AttestationListEntry *tmp_ale; 389 struct GNUNET_RECLAIM_AttestationListEntry *tmp_ale;
390 390
391 for (ale = al->list_head; NULL != ale; ale = ale->next) 391 for (ale = al->list_head; NULL != ale;)
392 { 392 {
393 if (NULL != ale->attestation) 393 if (NULL != ale->attestation)
394 GNUNET_free (ale->attestation); 394 GNUNET_free (ale->attestation);
diff --git a/src/reclaim-attribute/reclaim_attribute.c b/src/reclaim-attribute/reclaim_attribute.c
index 936f9cb75..0e3fae849 100644
--- a/src/reclaim-attribute/reclaim_attribute.c
+++ b/src/reclaim-attribute/reclaim_attribute.c
@@ -423,7 +423,7 @@ GNUNET_RECLAIM_attribute_list_destroy (
423 struct GNUNET_RECLAIM_AttributeListEntry *ale; 423 struct GNUNET_RECLAIM_AttributeListEntry *ale;
424 struct GNUNET_RECLAIM_AttributeListEntry *tmp_ale; 424 struct GNUNET_RECLAIM_AttributeListEntry *tmp_ale;
425 425
426 for (ale = al->list_head; NULL != ale; ale = ale->next) 426 for (ale = al->list_head; NULL != ale;)
427 { 427 {
428 if (NULL != ale->attribute) 428 if (NULL != ale->attribute)
429 GNUNET_free (ale->attribute); 429 GNUNET_free (ale->attribute);