Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Git 2.1.2
[gitweb.git]
/
builtin
/
rev-parse.c
diff --git
a/builtin/rev-parse.c
b/builtin/rev-parse.c
index 8102aaa9248d55055761f9899903cac2a2c7cc1e..d85e08cc9cc22ee307470dbeb12fdd8d1eea655b 100644
(file)
--- a/
builtin/rev-parse.c
+++ b/
builtin/rev-parse.c
@@
-151,6
+151,7
@@
static void show_rev(int type, const unsigned char *sha1, const char *name)
error("refname '%s' is ambiguous", name);
break;
}
+ free(full);
} else {
show_with_type(type, name);
}