You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2017/05/11 17:49:10 UTC
[trafficserver] branch master updated: Fix slow leak in
traffic_manager caused by un-freed capabilities.
This is an automated email from the ASF dual-hosted git repository.
sorber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 5c3d091 Fix slow leak in traffic_manager caused by un-freed capabilities.
5c3d091 is described below
commit 5c3d091a6e75827a873f2568de004a2880e5c966
Author: Chris Lemmons <al...@gmail.com>
AuthorDate: Tue May 9 16:51:17 2017 -0600
Fix slow leak in traffic_manager caused by un-freed capabilities.
---
lib/ts/ink_cap.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ts/ink_cap.cc b/lib/ts/ink_cap.cc
index f458d60..5e70ad8 100644
--- a/lib/ts/ink_cap.cc
+++ b/lib/ts/ink_cap.cc
@@ -412,6 +412,7 @@ ElevateAccess::releasePrivilege()
if (cap_set_proc(static_cast<cap_t>(cap_state)) != 0) {
Fatal("failed to restore privileged capabilities: %s", strerror(errno));
}
+ cap_free(this->cap_state);
cap_state = nullptr;
}
}
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].