aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim-attribute/reclaim_attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim-attribute/reclaim_attribute.c')
-rw-r--r--src/reclaim-attribute/reclaim_attribute.c2
1 files changed, 1 insertions, 1 deletions
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);