diff options
Diffstat (limited to 'src/abd/gnunet-service-abd.c')
-rw-r--r-- | src/abd/gnunet-service-abd.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/abd/gnunet-service-abd.c b/src/abd/gnunet-service-abd.c index 36b0009ef..569d42295 100644 --- a/src/abd/gnunet-service-abd.c +++ b/src/abd/gnunet-service-abd.c | |||
@@ -364,14 +364,14 @@ print_deleset (struct DelegationSetQueueEntry *dsentry, char *text) | |||
364 | static void | 364 | static void |
365 | cleanup_dsq_entry (struct DelegationSetQueueEntry *ds_entry) | 365 | cleanup_dsq_entry (struct DelegationSetQueueEntry *ds_entry) |
366 | { | 366 | { |
367 | GNUNET_free_non_null (ds_entry->issuer_key); | 367 | GNUNET_free (ds_entry->issuer_key); |
368 | GNUNET_free_non_null (ds_entry->issuer_attribute); | 368 | GNUNET_free (ds_entry->issuer_attribute); |
369 | GNUNET_free_non_null (ds_entry->attr_trailer); | 369 | GNUNET_free (ds_entry->attr_trailer); |
370 | // those fields are only set/used in bw search | 370 | // those fields are only set/used in bw search |
371 | if (ds_entry->from_bw) | 371 | if (ds_entry->from_bw) |
372 | { | 372 | { |
373 | GNUNET_free_non_null (ds_entry->lookup_attribute); | 373 | GNUNET_free (ds_entry->lookup_attribute); |
374 | GNUNET_free_non_null (ds_entry->unresolved_attribute_delegation); | 374 | GNUNET_free (ds_entry->unresolved_attribute_delegation); |
375 | } | 375 | } |
376 | if (NULL != ds_entry->lookup_request) | 376 | if (NULL != ds_entry->lookup_request) |
377 | { | 377 | { |
@@ -380,9 +380,9 @@ cleanup_dsq_entry (struct DelegationSetQueueEntry *ds_entry) | |||
380 | } | 380 | } |
381 | if (NULL != ds_entry->delegation_chain_entry) | 381 | if (NULL != ds_entry->delegation_chain_entry) |
382 | { | 382 | { |
383 | GNUNET_free_non_null ( | 383 | GNUNET_free ( |
384 | ds_entry->delegation_chain_entry->subject_attribute); | 384 | ds_entry->delegation_chain_entry->subject_attribute); |
385 | GNUNET_free_non_null (ds_entry->delegation_chain_entry->issuer_attribute); | 385 | GNUNET_free (ds_entry->delegation_chain_entry->issuer_attribute); |
386 | GNUNET_free (ds_entry->delegation_chain_entry); | 386 | GNUNET_free (ds_entry->delegation_chain_entry); |
387 | } | 387 | } |
388 | // Free DQ entries | 388 | // Free DQ entries |
@@ -423,11 +423,11 @@ cleanup_handle (struct VerifyRequestHandle *vrh) | |||
423 | GNUNET_CONTAINER_DLL_remove (vrh->del_chain_head, | 423 | GNUNET_CONTAINER_DLL_remove (vrh->del_chain_head, |
424 | vrh->del_chain_tail, | 424 | vrh->del_chain_tail, |
425 | del_entry); | 425 | del_entry); |
426 | GNUNET_free_non_null (del_entry->delegate); | 426 | GNUNET_free (del_entry->delegate); |
427 | GNUNET_free (del_entry); | 427 | GNUNET_free (del_entry); |
428 | } | 428 | } |
429 | } | 429 | } |
430 | GNUNET_free_non_null (vrh->issuer_attribute); | 430 | GNUNET_free (vrh->issuer_attribute); |
431 | GNUNET_free (vrh); | 431 | GNUNET_free (vrh); |
432 | } | 432 | } |
433 | 433 | ||