Skip to content

Commit 30bb043

Browse files
authored
bench: free allocated memory
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 6cd9379 commit 30bb043

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • lib/node_modules/@stdlib/blas/base/dsyr/benchmark/c

lib/node_modules/@stdlib/blas/base/dsyr/benchmark/c/benchmark.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ static double benchmark1( int iterations, int N ) {
109109
if ( A[ i%(N*2) ] != A[ i%(N*2) ] ) {
110110
printf( "should not return NaN\n" );
111111
}
112+
free( x );
113+
free( A );
112114
return elapsed;
113115
}
114116

0 commit comments

Comments
 (0)