diff options
author | Jack Lloyd <[email protected]> | 2016-11-03 11:33:27 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-03 11:33:27 -0400 |
commit | e36ab67b80a0fb162df768d5895c413d26e2e5ca (patch) | |
tree | e496e7d51d16d8b56e9efe6ee340a26b5ee5f069 /src/lib/compression | |
parent | 341fd32b46363cad4c2caee3fca166695100ba07 (diff) |
Rename zero_mem to secure_scrub_memory
Diffstat (limited to 'src/lib/compression')
-rw-r--r-- | src/lib/compression/compress_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/compression/compress_utils.cpp b/src/lib/compression/compress_utils.cpp index 2af629b9c..65361fba8 100644 --- a/src/lib/compression/compress_utils.cpp +++ b/src/lib/compression/compress_utils.cpp @@ -46,7 +46,7 @@ void Compression_Alloc_Info::do_free(void* ptr) if(i == m_current_allocs.end()) throw Exception("Compression_Alloc_Info::free got pointer not allocated by us"); - zero_mem(ptr, i->second); + secure_scrub_memory(ptr, i->second); std::free(ptr); m_current_allocs.erase(i); } |