Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

#6980: fix memory leak when --trace-history not used #7115

Merged
merged 1 commit into from
Apr 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/state_history_plugin/state_history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ struct state_history_plugin_impl : std::enable_shared_from_this<state_history_pl
}

void on_applied_transaction(const transaction_trace_ptr& p) {
if (p->receipt) {
if (p->receipt && trace_log) {
if (is_onblock(p))
onblock_trace = p;
else if (p->failed_dtrx_trace)
Expand Down