HomePhabricator

Cleanup of dead mapBlockSource entries that aren't needed in FinalizeNode
75b99eb1cb9dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Cleanup of dead mapBlockSource entries that aren't needed in FinalizeNode

Summary: A tiny memory leak exists in net_processing.cpp, this patch fixes it

Test Plan: Compile and run bitcoin. No log messages are generated to verify this is working, but if you wish, you can add some to FinalizeNode() to see stale mapBlockSource entries accumulate as bitcoin runs.

Reviewers: deadalnix, freetrader, #bitcoin_abc

Reviewed By: deadalnix, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D372

Details

Provenance
CCulianuAuthored on Aug 6 2017, 18:20
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Reviewer
Restricted Project
Differential Revision
D372: Cleanup of dead mapBlockSource entries that aren't needed in FinalizeNode
Parents
rSTAGINGcd9a787db4a2: Add checkpoint for a recent block
Branches
Unknown
Tags
Unknown