- **status**: review --> fixed


---

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

**Status:** fixed
**Created:** Tue Sep 03, 2013 06:28 AM UTC by Neelakanta Reddy
**Last Updated:** Wed Sep 11, 2013 12:32 PM 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.
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to