Skip to content

Commit

Permalink
Merge #9507: Fix use-after-free in CTxMemPool::removeConflicts()
Browse files Browse the repository at this point in the history
fe7e593 Fix use-after-free in CTxMemPool::removeConflicts() (Suhas Daftuar)
  • Loading branch information
sipa committed Jan 11, 2017
2 parents e2e624d + fe7e593 commit 0595042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txmempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 0595042

Please sign in to comment.