1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-09 11:26:09 +02:00
This commit is contained in:
Kleber Tarcísio 2024-04-25 23:57:47 +00:00 committed by GitHub
commit 238ea379d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1071,7 +1071,7 @@ static void submodule_summary_callback(struct diff_queue_struct *q,
if (!S_ISGITLINK(p->one->mode) && !S_ISGITLINK(p->two->mode))
continue;
temp = (struct module_cb*)malloc(sizeof(struct module_cb));
temp = (struct module_cb*)xmalloc(sizeof(struct module_cb));
temp->mod_src = p->one->mode;
temp->mod_dst = p->two->mode;
temp->oid_src = p->one->oid;