diff options
author | Jack Lloyd <[email protected]> | 2016-07-21 11:30:37 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-07-21 11:30:37 -0400 |
commit | b4da573fc1c241a6badc83f4ec166cbdd5c70c5c (patch) | |
tree | cd91fd6cd3ebdffd2e1705dbb7c233b6cded5570 /src/lib/hash/par_hash/par_hash.cpp | |
parent | f7fb8241947de7df08acd87423738edc39e15421 (diff) | |
parent | 8f53d3f6efd1419e8feac027035fc8d407e1e75f (diff) |
Merge GH #548 Parallel hash tests, fix memory leak
Diffstat (limited to 'src/lib/hash/par_hash/par_hash.cpp')
-rw-r--r-- | src/lib/hash/par_hash/par_hash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/par_hash/par_hash.cpp b/src/lib/hash/par_hash/par_hash.cpp index 5645a99c7..f6bed96ee 100644 --- a/src/lib/hash/par_hash/par_hash.cpp +++ b/src/lib/hash/par_hash/par_hash.cpp @@ -68,7 +68,7 @@ HashFunction* Parallel::clone() const std::vector<HashFunction*> hash_copies; for(auto&& hash : m_hashes) - hash_copies.push_back(hash->clone()); + hash_copies.push_back(hash.get()); return new Parallel(hash_copies); } |