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 2017-01-11 13:41:27 -08:00
commit 05950427d3
No known key found for this signature in database
GPG Key ID: DBA1A67379A1A931
1 changed files with 1 additions and 1 deletions

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);
}
}
}