Skip to content

Commit

Permalink
fix missing malloc
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg committed Feb 26, 2024
1 parent 38283f6 commit f7ffab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utest/test_extensions/test_isamin.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ CTEST(isamin, min_idx_in_vec_tail){
CTEST(isamin, min_idx_in_vec_tail_inc_1){
blasint i;
blasint N = ELEMENTS, inc = 1;
float *x = (float*) (ELEMENTS * inc * sizeof(float));
float *x = (float*) malloc(ELEMENTS * inc * sizeof(float));
for (i = 0; i < N * inc; i ++) {
x[i] = i + 1000;
}
Expand Down

0 comments on commit f7ffab8

Please sign in to comment.