- **status**: unassigned --> accepted
- **Type**: enhancement --> defect
- **Milestone**: 4.4.FC --> 4.2.5



---

** [tickets:#560] IMM:  Memory Leaks when ncs_lock failed in IMMA**

**Status:** accepted
**Created:** Tue Sep 03, 2013 06:28 AM UTC by Neelakanta Reddy
**Last Updated:** Tue Sep 03, 2013 06:28 AM UTC
**Owner:** Neelakanta Reddy

In the following code of IMM agent, if the ncs_lock failed, then IMM API's are 
returning immediately. Without freeing the allocated memory (if any) created in 
the API function.

if (m_NCS_LOCK(&cb->cb_lock, NCS_LOCK_WRITE) != NCSCC_RC_SUCCESS) {
                 rc = SA_AIS_ERR_LIBRARY;
                 /* Losing track of the pending reply count, but ERR_LIBRARY 
dominates*/
                 TRACE_4("ERR_LIBRARY: Lock failed");
                 goto lock_fail;
         }



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to