---

** [tickets:#2238] imm: Memory leak when clearing sDeferredObjUpdatesMap**

**Status:** accepted
**Milestone:** 5.0.2
**Created:** Wed Dec 21, 2016 05:54 AM UTC by Hung Nguyen
**Last Updated:** Wed Dec 21, 2016 05:54 AM UTC
**Owner:** Hung Nguyen


~~~
                while(!sDeferredObjUpdatesMap.empty()) {
                    doumIter = sDeferredObjUpdatesMap.begin();
                    DeferredRtAUpdateList* attrUpdList = doumIter->second;
                    while(!attrUpdList->empty()) {
                        DeferredRtAUpdate& dRtAU = attrUpdList->front();
                        immsv_free_attrmods(dRtAU.attrModsList);
                        dRtAU.attrModsList = NULL;
                        attrUpdList->pop_front();
                    }
                    sDeferredObjUpdatesMap.erase(doumIter);
                }
~~~

attrUpdList should be freed.


---

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.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to