svn commit: r680380 - /webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/terminate_mgr.c
| Newsgroups | gmane.comp.apache.webservices.fx.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: damitha
Date: Mon Jul 28 08:13:17 2008
New Revision: 680380
URL: http://svn.apache.org/viewvc?rev=680380&view=rev
Log:
Fixng memory leaks
Modified:
webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/terminate_mgr.c
Modified: webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/terminate_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/terminate_mgr.c?rev=680380&r1=680379&r2=680380&view=diff
==============================================================================
--- webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/terminate_mgr.c (original)
+++ webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/terminate_mgr.c Mon Jul 28 08:13:17 2008
@@ -701,6 +701,11 @@
sandesha2_seq_property_bean_set_seq_id(find_seq_prop_bean, env, internal_sequence_id);
found_list = sandesha2_seq_property_mgr_find(seq_prop_mgr, env, find_seq_prop_bean);
+ if(find_seq_prop_bean)
+ {
+ sandesha2_seq_property_bean_free(find_seq_prop_bean, env);
+ }
+
if(found_list)
{
int i = 0, size = 0;