projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix undefined memory warning during tests.
[libdcp.git]
/
test
/
test.cc
diff --git
a/test/test.cc
b/test/test.cc
index b20678cd0726fbf8c7f6c3e41adadc3067da16b1..bfee68f7fd3e74edb4e83c93c5c80357fdd9588e 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-431,6
+431,7
@@
make_simple_with_interop_subs (boost::filesystem::path path)
boost::filesystem::create_directory (path / "subs");
dcp::ArrayData data(4096);
+ memset(data.data(), 0, data.size());
subs->add_font ("afont", data);
subs->write (path / "subs" / "subs.xml");