- **status**: accepted --> review


---

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

**Status:** review
**Created:** Tue Sep 03, 2013 06:28 AM UTC by Neelakanta Reddy
**Last Updated:** Thu Sep 05, 2013 10:57 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.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to