]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/notes.c
Merge branch 'en/ort-perf-batch-9'
[thirdparty/git.git] / builtin / notes.c
index 08b8914d299517013395063704d36556fd9435df..74bba39ca8293208d3d577a47e2617a11d856c20 100644 (file)
@@ -730,7 +730,7 @@ static int merge_commit(struct notes_merge_options *o)
        else
                oidclr(&parent_oid);
 
-       t = xcalloc(1, sizeof(struct notes_tree));
+       CALLOC_ARRAY(t, 1);
        init_notes(t, "NOTES_MERGE_PARTIAL", combine_notes_overwrite, 0);
 
        o->local_ref = local_ref_to_free =