---

** [tickets:#1205] smf: memory leak when clm api returns error in 4.x code 
base**

**Status:** accepted
**Milestone:** 4.4.2
**Created:** Fri Nov 07, 2014 11:18 AM UTC by Mathi Naickan
**Last Updated:** Fri Nov 07, 2014 11:18 AM UTC
**Owner:** Mathi Naickan

In smfnd_up(): smfd_smfnd.c, in the following case when saClmClusterNodeGet 
timesout, saClmFinalize() has to be invoked before returning from the function.

        /* Get Clm info about the node */
        rc = saClmClusterNodeGet(clmHandle, i_node_id,
                                 10000000000LL, &smfnd->clmInfo);
        if (rc != SA_AIS_OK) {
                LOG_ER("saClmClusterNodeGet failed, rc=%s", saf_error(rc));
                free(smfnd);
                return NCSCC_RC_FAILURE;
        }

This issue is applicable only to 4.x code base because this leak was fixed by 
ticket #1166 in the 4.5.x and default streams.


---

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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to