Commit Diff


commit - 656b1f76d3a6f52318782284fa83ae47894cbffb
commit + e009fd0ff5fb6ea0af288c51965d32e7bd415a60
blob - 24bb6f059b662c9b702545dbebbe7167e4469b6b
blob + cac2b8ccb85164b48dcd9526891a51bc1851d681
--- lib/commit_graph.c
+++ lib/commit_graph.c
@@ -405,7 +405,7 @@ got_commit_graph_open(struct got_commit_graph **graph,
 	*graph = alloc_graph(path);
 	if (*graph == NULL) {
 		got_object_commit_close(commit);
-		return got_error_prefix_errno("got_object_commit_close");
+		return got_error_prefix_errno("alloc_graph");
 	}
 
 	if (first_parent_traversal)