diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2008-02-14 06:50:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-15 14:11:28 -0800 |
commit | 8ca496e97d100195c9015f4da8ddaad693e91961 (patch) | |
tree | df8eb940de5f434d5edef1071c554c62a45a4d5e /diff.c | |
parent | 588071112c7ca14a04d674e4f019572f0bb77326 (diff) | |
download | git-8ca496e97d100195c9015f4da8ddaad693e91961.tar.gz git-8ca496e97d100195c9015f4da8ddaad693e91961.tar.xz |
diff.c: replace a 'strdup' with 'xstrdup'.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |