projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5880711
)
diff.c: replace a 'strdup' with 'xstrdup'.
author
Christian Couder
<chriscool@tuxfamily.org>
Thu, 14 Feb 2008 05:50:00 +0000
(06:50 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 15 Feb 2008 22:11:28 +0000
(14:11 -0800)
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
patch
|
blob
|
history
diff --git
a/diff.c
b/diff.c
index 2aaace890ca056b79479c3a98cb85454f3359cac..047310fc94e0ad87770f4b9244b8410f3d471053 100644
(file)
--- 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 =
x
strdup(value);
return 0;
}