diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2017-01-10 15:21:21 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2017-01-10 15:21:21 -0500 |
commit | fe7e593b24678082578e76d8f918d4544713b5f0 (patch) | |
tree | 9837ee5989036f6ef126eabcf1f2c318beb56754 | |
parent | 07fd147b9f12e9205afd66a624edce357977d615 (diff) |
Fix use-after-free in CTxMemPool::removeConflicts()
-rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 4f4540a1fc..373687430b 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -581,8 +581,8 @@ void CTxMemPool::removeConflicts(const CTransaction &tx) const CTransaction &txConflict = *it->second; if (txConflict != tx) { - removeRecursive(txConflict); ClearPrioritisation(txConflict.GetHash()); + removeRecursive(txConflict); } } } |