From: Christian Couder Date: Thu, 14 Feb 2008 05:50:00 +0000 (+0100) Subject: diff.c: replace a 'strdup' with 'xstrdup'. X-Git-Tag: v1.5.4.2~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ca496e97d100195c9015f4da8ddaad693e91961;p=git.git diff.c: replace a 'strdup' with 'xstrdup'. Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- diff --git a/diff.c b/diff.c index 2aaace890..047310fc9 100644 --- a/diff.c +++ b/diff.c @@ -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; }