MSVC memory tracking tools do '#define free(p) _dbg_free(...)'.
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7205 (new)
tags: pullup
switch (a->type) {
case atype_fn: {
const struct fn_info *fn = a->tinfo;
- if (fn->free != NULL)
- fn->free(val);
+ if (fn->free_func != NULL)
+ fn->free_func(val);
break;
}
case atype_sequence:
asn1_error_code (*dec)(const taginfo *, const unsigned char *, size_t,
void *);
int (*check_tag)(const taginfo *);
- void (*free)(void *);
+ void (*free_func)(void *);
};
struct ptr_info {