[PATCH] LEAK: Fix memory leak in proxy forwarder.

Dominik Vogt dominik.vogt at external.thalesgroup.com
Tue Sep 7 08:22:23 CEST 2010


---
 src/mib.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mib.cpp b/src/mib.cpp
index b031832..bf50580 100644
--- a/src/mib.cpp
+++ b/src/mib.cpp
@@ -3471,6 +3471,7 @@ void Mib::proxy_request(Request* req)
 	}
 	else {
 		requestList->answer(req);
+		delete_request(req);
 	}
 }
 #endif
-- 
1.5.5.6


--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment;
	filename="0002-LEAK-Fix-memory-at-shutdown-of-proxy-forwarder-test.patch"



More information about the AGENTPP mailing list