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_prover.c

    rec550f7 r7764378  
    1717#include <assert.h>
    1818#include <string.h>
     19#include <stdlib.h>
    1920
    2021#include <abac.h>
     
    3435    printf("with %s\n", with);
    3536
    36 int k=1; /* use to do repetitions */
     37int k=10; /* use to do repetitions */
    3738while(k) {
    3839    credentials = abac_context_query(ctx,
     
    5657    k=k-1;
    5758}
    58 
     59    free(query);
     60    free(with);
    5961
    6062{ /* dump credentials from context */
Note: See TracChangeset for help on using the changeset viewer.