test215.c 301 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#define NULL ((void *)0)

void free(void *);

struct crust_ts {
    char var1;
    int var2;
    struct crust_ts *next;
};

typedef __crust__ struct crust_ts* crust_t;

void function(crust_t var1, char *var2) {

15
    free(var1); // free() is a valid way of disposing a crust variable
16 17
    free(var2);
}