Changeset 7764378 for libabac/abac.c


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
  • libabac/abac.c

    rf2622ee r7764378  
    115115 * Load an ID cert from a id.
    116116 */
    117 /*
    118 int abac_context_load_id_chunk(abac_context_t *ctx, abac_id_t *id) {
     117int abac_context_load_id_id(abac_context_t *ctx, abac_id_t *id) {
    119118    assert(ctx != NULL);
    120119    return abac_verifier_load_id_id(ctx->id_certs,id, ctx->keymap);
    121120}
    122 */
    123121
    124122
     
    143141                abac_credential_free(cred);
    144142            );
    145             abac_list_free(cred_list);
    146143        }
    147144    }
     145    abac_list_free(cred_list);
    148146    return ret;
    149147}
     
    237235        *success = 0;
    238236        abac_list_free(result);
    239         result_graph = abac_graph_new();
    240237
    241238        // TODO: This can probably be better, but it now returns an
Note: See TracChangeset for help on using the changeset viewer.