Commit 861bac09 authored by yonghong-song's avatar yonghong-song Committed by GitHub

Merge pull request #1619 from palmtenor/dealloc-mismatch

Fix BPFModule allocation / de-allocation mismatch
parents 7a582320 4f196e7d
...@@ -142,7 +142,7 @@ BPFModule::~BPFModule() { ...@@ -142,7 +142,7 @@ BPFModule::~BPFModule() {
if (!rw_engine_enabled_) { if (!rw_engine_enabled_) {
for (auto section : sections_) for (auto section : sections_)
delete get<0>(section.second); delete[] get<0>(section.second);
} }
engine_.reset(); engine_.reset();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment