@matheusbsbs / matheus-bagliano / commits / 8ca496e97d
Fork 0

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

Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Christian Couder committed Feb 14, 2008 at 06:50 UTC 8ca496e97d100195c9015f4da8ddaad693e91961
1 file changed +1 -1
diff.c
+1 -1
@@ -88,7 +88,7 @@ static int parse_lldiff_command(const char *var, const char *ep, const char *val
88
89 if (!value)
90 return config_error_nonbool(var);
91 - drv->cmd = strdup(value);
91 + drv->cmd = xstrdup(value);
92 return 0;
93 }
94