Bug 1317221 - Used vector delete where required in TestAudioSegment.cpp. r=padenot.

This commit is contained in:
Nicholas Nethercote 2016-11-14 17:20:05 +11:00
Родитель 6fc819886e
Коммит 7f263d232a
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -202,7 +202,7 @@ void TestUpmixStereo()
ASSERT_TRUE(channelsptr[channel][i] == GetHighValue<T>());
}
}
delete channels[0];
delete [] channels[0];
}
template<typename T>
@ -234,8 +234,8 @@ void TestDownmixStereo()
ASSERT_TRUE(output[0][i] == GetSilentValue<T>());
}
delete output[0];
delete output;
delete [] output[0];
delete [] output;
}
TEST(AudioSegment, Test)