Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Perl interface: make testsuite work again.
[gitweb.git]
/
tag.c
diff --git
a/tag.c
b/tag.c
index bee8a09cbf5fec119e9b2555beb4cb8b38d8057e..74d0dabe5d8c1f06a3f67475368c34e3b4046456 100644
(file)
--- a/
tag.c
+++ b/
tag.c
@@
-19,7
+19,7
@@
struct tag *lookup_tag(const unsigned char *sha1)
{
struct object *obj = lookup_object(sha1);
if (!obj) {
- struct tag *ret =
xcalloc(1, sizeof(struct tag)
);
+ struct tag *ret =
alloc_tag_node(
);
created_object(sha1, &ret->object);
ret->object.type = TYPE_TAG;
return ret;