Ignore:
Timestamp:
Sep 26, 2013 7:57:59 AM (6 years ago)
Author:
Mei <mei@…>
Branches:
abac0-leak, master
Children:
80f0770
Parents:
f2622ee
Message:

1) tweak according valgrind's leak report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/example_scripts/c/abac_attr.c

    rf2622ee r7764378  
    4949
    5050    abac_id_t *chocolate_id = abac_id_from_file(argv[4]);
    51     abac_chunk_t b_chunk=abac_id_cert_chunk(chocolate_id);
    52     rc=abac_context_load_id_chunk(ctx, b_chunk);
    53     abac_chunk_free(b_chunk);
     51    rc=abac_context_load_id_id(ctx, chocolate_id);
    5452
    5553    abac_attribute_t *attr;
     
    9997    free(tmp);
    10098    abac_id_free(id);
    101     abac_id_free(chocolate_id);
    10299    abac_attribute_free(attr);
    103100    abac_context_free(ctx);
Note: See TracChangeset for help on using the changeset viewer.