Commit 3d98322d authored by Jelte Jansen's avatar Jelte Jansen Committed by JINMEI Tatuya
Browse files

[2275] valgrind fixes: uninitialized memory

parent 1c4ec91a
......@@ -34,7 +34,9 @@ class FDTest : public ::testing::Test {
// We do not care what is inside, we just need it to be the same
data(new unsigned char[TEST_DATA_SIZE]),
{ }
memset(data, 0, TEST_DATA_SIZE);
~ FDTest() {
delete[] data;
delete[] buffer;
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