Skip to content

Commit

Permalink
diff.c: replace a 'strdup' with 'xstrdup'.
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Christian Couder authored and Junio C Hamano committed Feb 15, 2008
1 parent 5880711 commit 8ca496e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static int parse_lldiff_command(const char *var, const char *ep, const char *val

if (!value)
return config_error_nonbool(var);
drv->cmd = strdup(value);
drv->cmd = xstrdup(value);
return 0;
}

Expand Down

0 comments on commit 8ca496e

Please sign in to comment.