Commit 1372166f authored by Tristan Matthews's avatar Tristan Matthews

y4m_test: fix segfault if test files are missing

Change-Id: I7a04beb83095e5c0821048909f81f45be8b5eee3
parent 78cfab4b
......@@ -140,7 +140,7 @@ INSTANTIATE_TEST_CASE_P(C, Y4mVideoSourceTest,
class Y4mVideoWriteTest
: public Y4mVideoSourceTest {
protected:
Y4mVideoWriteTest() {}
Y4mVideoWriteTest() : tmpfile_(NULL) {}
virtual ~Y4mVideoWriteTest() {
delete tmpfile_;
......
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