diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-10-13 11:32:28 +0200 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-10-13 11:32:28 +0200 |
commit | 09bd1d14ba10b32c3475cf346d9a89b4f9f2adea (patch) | |
tree | 1471b794ea4c006839f6a8e2dafdc2f1467fdcdb | |
parent | f824b042c77c9fa9e134f9cf0c44a12276b9ad1b (diff) | |
download | atracdenc-09bd1d14ba10b32c3475cf346d9a89b4f9f2adea.tar.gz |
Fix missed free pqf ctx in ut
-rw-r--r-- | src/atrac/atrac3plus_pqf/ut/ipqf_ut.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/atrac/atrac3plus_pqf/ut/ipqf_ut.cpp b/src/atrac/atrac3plus_pqf/ut/ipqf_ut.cpp index 4492cb9..3344a00 100644 --- a/src/atrac/atrac3plus_pqf/ut/ipqf_ut.cpp +++ b/src/atrac/atrac3plus_pqf/ut/ipqf_ut.cpp @@ -133,6 +133,8 @@ TEST(pqf, DC_Short) { for (int i = 368; i < 2048; i++) { EXPECT_NEAR(tmp[i], x[i], err); } + + at3plus_pqf_free_a_ctx(actx); } TEST(pqf, DC_Long) { @@ -160,6 +162,8 @@ TEST(pqf, DC_Long) { for (int i = 368; i < 4096; i++) { EXPECT_NEAR(tmp[i], x[i-368], err); } + + at3plus_pqf_free_a_ctx(actx); } TEST(pqf, Seq_Short) { @@ -187,6 +191,8 @@ TEST(pqf, Seq_Short) { for (int i = 368; i < 2048; i++) { EXPECT_NEAR(tmp[i], x[i - 368], err); } + + at3plus_pqf_free_a_ctx(actx); } TEST(pqf, Seq_Long) { @@ -213,6 +219,8 @@ TEST(pqf, Seq_Long) { for (int i = 368; i < 4096; i++) { EXPECT_NEAR(tmp[i], x[i-368], err); } + + at3plus_pqf_free_a_ctx(actx); } TEST(pqf, Chirp_Short) { @@ -238,6 +246,8 @@ TEST(pqf, Chirp_Short) { for (int i = 368; i < 2048; i++) { EXPECT_NEAR(tmp[i], x[i - 368], err); } + + at3plus_pqf_free_a_ctx(actx); } TEST(pqf, Chirp_Long) { @@ -264,6 +274,8 @@ TEST(pqf, Chirp_Long) { for (int i = 368; i < 4096; i++) { EXPECT_NEAR(tmp[i], x[i-368], err); } + + at3plus_pqf_free_a_ctx(actx); } TEST(pqf, Noise_Long) { @@ -290,6 +302,8 @@ TEST(pqf, Noise_Long) { for (int i = 368; i < 4096; i++) { EXPECT_NEAR(tmp[i], x[i-368], err); } + + at3plus_pqf_free_a_ctx(actx); } |