summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index 0dbc2b9..22a718b 100644
--- a/debug.c
+++ b/debug.c
@@ -49,8 +49,7 @@
TIMER(&_samples[i], \
func(_A, _B, ##__VA_ARGS__) \
); \
- matrix_free(_A); \
- matrix_free(_B); \
+ matrix_free_many(2, _A, _B); \
} \
print_bm(#func, (details_str), _samples, MATRIX_BM_N_SAMPLES); \
} while(0)