summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/include/test_memory_chunk.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/include/test_memory_chunk.cpp b/tests/include/test_memory_chunk.cpp
index eefc357..dcee8a1 100644
--- a/tests/include/test_memory_chunk.cpp
+++ b/tests/include/test_memory_chunk.cpp
@@ -69,6 +69,9 @@ int main(int argc, char * argv[]){
printf("match\n");
}
+ delete chunk;
+ chunk = new MemoryChunk;
+
chunk->set_content(0, version, strlen(version) + 1);
chunk->save(filename);