Merge branch 'sb/mailmap-freeing-NULL-is-ok'
* sb/mailmap-freeing-NULL-is-ok: mailmap: remove redundant check for freeing memorymaint
commit
e5229b6a61
|
@ -153,7 +153,6 @@ static void read_mailmap_line(struct string_list *map, char *buffer,
|
||||||
if (!strncmp(buffer, abbrev, abblen)) {
|
if (!strncmp(buffer, abbrev, abblen)) {
|
||||||
char *cp;
|
char *cp;
|
||||||
|
|
||||||
if (repo_abbrev)
|
|
||||||
free(*repo_abbrev);
|
free(*repo_abbrev);
|
||||||
*repo_abbrev = xmalloc(len);
|
*repo_abbrev = xmalloc(len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue