[
https://issues.apache.org/jira/browse/TS-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
bettydramit updated TS-2161:
----------------------------
Description:
TSHttpTxnHookAdd memory Leak
diff -Nur ts-4.0.0/proxy/InkAPIInternal.h ts-4.0.0-new/proxy/InkAPIInternal.h
--- ts-4.0.0/proxy/InkAPIInternal.h 2013-08-24 05:39:22.000000000 +0800
+++ ts-4.0.0-new/proxy/InkAPIInternal.h 2013-08-27 16:21:39.245609427 +0800
@@ -186,7 +186,7 @@
FeatureAPIHooks<ID,MAX_ID>::clear()
{
for (int i = 0; i < MAX_ID; ++i) {
- m_hooks->clear();
+ m_hooks[i].clear();
}
hooks_p = false;
}
was:TSHttpTxnHookAdd memory Leak
> TSHttpTxnHookAdd memory Leak
> ----------------------------
>
> Key: TS-2161
> URL: https://issues.apache.org/jira/browse/TS-2161
> Project: Traffic Server
> Issue Type: Bug
> Affects Versions: 3.3.5
> Reporter: bettydramit
> Priority: Critical
>
> TSHttpTxnHookAdd memory Leak
> diff -Nur ts-4.0.0/proxy/InkAPIInternal.h ts-4.0.0-new/proxy/InkAPIInternal.h
> --- ts-4.0.0/proxy/InkAPIInternal.h 2013-08-24 05:39:22.000000000 +0800
> +++ ts-4.0.0-new/proxy/InkAPIInternal.h 2013-08-27 16:21:39.245609427 +0800
> @@ -186,7 +186,7 @@
> FeatureAPIHooks<ID,MAX_ID>::clear()
> {
> for (int i = 0; i < MAX_ID; ++i) {
> - m_hooks->clear();
> + m_hooks[i].clear();
> }
> hooks_p = false;
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira