| 32 | } |
| 33 | |
| 34 | static void free_mailmap_entry(void *p, const char *s UNUSED) |
| 35 | { |
| 36 | struct mailmap_entry *me = (struct mailmap_entry *)p; |
| 37 | |
| 38 | free(me->name); |
| 39 | free(me->email); |
| 40 | |
| 41 | me->namemap.strdup_strings = 1; |
| 42 | string_list_clear_func(&me->namemap, free_mailmap_info); |
| 43 | free(me); |
| 44 | } |
| 45 | |
| 46 | /* |
| 47 | * On some systems (e.g. MinGW 4.0), string.h has _only_ inline |
nothing calls this directly
no test coverage detected