Skip to content

Commit

Permalink
Fix memory leaks in multiplexer plugin (apache#7160)
Browse files Browse the repository at this point in the history
  • Loading branch information
thebadpete authored Sep 3, 2020
1 parent d036f41 commit 03f3387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/multiplexer/ats-multiplexer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ DoRemap(const Instance &i, TSHttpTxn t)
CHECK(TSMimeHdrFieldValueStringSet(buffer, location, field, -1, "original", 8));

CHECK(TSMimeHdrFieldAppend(buffer, location, field));

CHECK(TSHandleMLocRelease(buffer, location, field));
}

Requests requests;
Expand Down

0 comments on commit 03f3387

Please sign in to comment.