Commit 5d237f09 authored by James Zern's avatar James Zern
Browse files

vp10_inv_txfm2d_test: fix memory leak

input_, ref_input_ and output_ were being allocated with new[] followed
by vpx_memalign, remove the former

Change-Id: Ia16d0f9b9317042a24445095ad3c284f4e7bb481
parent e717ece4
......@@ -42,9 +42,6 @@ class VP10InvTxfm2d : public ::testing::TestWithParam<VP10InvTxfm2dParam> {
txfm1d_size_ = libvpx_test::get_txfm1d_size(tx_size_);
txfm2d_size_ = txfm1d_size_ * txfm1d_size_;
count_ = 500;
input_ = new int16_t[txfm2d_size_];
ref_input_ = new uint16_t[txfm2d_size_];
output_ = new int32_t[txfm2d_size_];
input_ = reinterpret_cast<int16_t *>
(vpx_memalign(16, sizeof(int16_t) * txfm2d_size_));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment