From 17694ecaa9681b04498709ba7526c8a8f022b512 Mon Sep 17 00:00:00 2001 From: yancey Date: Sat, 22 Jul 2023 18:16:33 -0400 Subject: [PATCH] fix more sanitizer complaint --- fec_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fec_manager.h b/fec_manager.h index 850f112..f92b651 100644 --- a/fec_manager.h +++ b/fec_manager.h @@ -413,7 +413,7 @@ class fec_decode_manager_t : not_copy_able_t { mylog(log_debug, "fec_decode_manager destroyed\n"); if (fec_data != 0) { mylog(log_debug, "fec_data freed\n"); - delete fec_data; + delete[] fec_data; } } int clear() {