Commit 7214ba2303d1e1809993b429dd70f84b32c4dbb2
1 parent
b4ce557b
Fix memory error on virus workaround code
Showing
1 changed file
with
0 additions
and
1 deletions
qpdf/test_driver.cc
| ... | ... | @@ -255,7 +255,6 @@ void runtest(int n, char const* filename1, char const* arg2) |
| 255 | 255 | // print(join('', @str)); |
| 256 | 256 | |
| 257 | 257 | std::string filename(std::string(filename1) + ".obfuscated"); |
| 258 | - PointerHolder<char> file_buf; | |
| 259 | 258 | size_t size = 0; |
| 260 | 259 | read_file_into_memory(filename.c_str(), file_buf, size); |
| 261 | 260 | char* p = file_buf.getPointer(); | ... | ... |