author | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Feb 2007 08:58:18 +0000 (00:58 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Feb 2007 09:14:34 +0000 (01:14 -0800) | ||
commit | 6c912f5b04e3216a5487e03235a8454b754a464e | |
tree | 57b60fea8e5052936cb7a92a0c51b5126dbd68d8 | tree | snapshot |
parent | c24e9757e9f608ad3985ee9093d28ca5cd37f052 | commit | diff |
Fix botched "leak fix"
When (new_name == old_name), the previous one prefixed old_name
alone, leaving new_name untouched, and worse yet, left it
dangling pointing at an already freed memory location.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When (new_name == old_name), the previous one prefixed old_name
alone, leaving new_name untouched, and worse yet, left it
dangling pointing at an already freed memory location.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c | diff | blob | history |