MCPcopy Index your code
hub / github.com/git/git / free_mailmap_entry

Function free_mailmap_entry

mailmap.c:34–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34static 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

Callers

nothing calls this directly

Calls 1

string_list_clear_funcFunction · 0.85

Tested by

no test coverage detected