Commit b8df28a5 by Russell Belfer

Clean up left over alloc change

parent f9775a37
......@@ -966,7 +966,7 @@ static git_submodule *submodule_alloc(git_repository *repo, const char *name)
return NULL;
}
sm = git__calloc(1, sizeof(git_submodule) + namelen + 1);
sm = git__calloc(1, sizeof(git_submodule));
if (sm == NULL)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment