Skip to content

Commit 6b71349

Browse files
committed
remove failing free?
1 parent 6c3167d commit 6b71349

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/forder.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,6 @@ void radix_i(int from, int to, int radix) {
959959
uint8_t *restrict my_key = key[radix]+from; // safe to write as we don't use this radix again
960960
uint8_t *o = (uint8_t *)malloc(my_n * sizeof(uint8_t));
961961
if (!o) {
962-
free(queue);
963962
STOP(_("Failed to allocate %zu bytes for '%s'."), my_n * sizeof(uint8_t), "o"); // # nocov
964963
}
965964
// if last key (i.e. radix+1==nradix) there are no more keys to reorder so we could reorder osub by reference directly and save allocating and populating o just

0 commit comments

Comments
 (0)