Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/worktree-name-sanitization'
[gitweb.git]
/
t
/
helper
/
test-prio-queue.c
diff --git
a/t/helper/test-prio-queue.c
b/t/helper/test-prio-queue.c
index 5bc9c46ea5603e22e6fb5aaa5c0276a12d2a031f..f4028442e37e39d7ec35abf00c237d4d2cbac892 100644
(file)
--- a/
t/helper/test-prio-queue.c
+++ b/
t/helper/test-prio-queue.c
@@
-40,7
+40,7
@@
int cmd__prio_queue(int argc, const char **argv)
} else if (!strcmp(*argv, "stack")) {
pq.compare = NULL;
} else {
- int *v = malloc(sizeof(*v));
+ int *v =
x
malloc(sizeof(*v));
*v = atoi(*argv);
prio_queue_put(&pq, v);
}