Merge #9507: Fix use-after-free in CTxMemPool::removeConflicts()

fe7e593 Fix use-after-free in CTxMemPool::removeConflicts() (Suhas Daftuar)
This commit is contained in:
Pieter Wuille committed 2017-01-11 13:59:00 -08:00
commit 05950427d3
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}
}