зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1317221 - Used vector delete where required in TestAudioSegment.cpp. r=padenot.
This commit is contained in:
Родитель
6fc819886e
Коммит
7f263d232a
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче