diff.c: replace a 'strdup' with 'xstrdup'.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Christian Couder 2008-02-14 06:50:00 +01:00 committed by Junio C Hamano
parent 588071112c
commit 8ca496e97d

2
diff.c
View File

@ -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;
}