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

Commit

Permalink
#6980: memory leak when --trace-history not used
Browse files Browse the repository at this point in the history
  • Loading branch information
tbfleming committed Mar 21, 2019
1 parent f358cad commit 868ea8c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 868ea8c

Please sign in to comment.