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

opensaf-5.1.x [staging:8a6ce3]
changeset:   8476:8a6ce3aa83b3
user:        Hung Nguyen <[email protected]>
date:        Wed Dec 21 14:19:09 2016 +0700
summary:     imm: Fix memory leak when clearing sDeferredObjUpdatesMap [#2238]

opensaf-5.0.x [staging:07033b]
changeset:   8477:07033beb970a
user:        Hung Nguyen <[email protected]>
date:        Wed Dec 21 14:19:09 2016 +0700
summary:     imm: Fix memory leak when clearing sDeferredObjUpdatesMap [#2238]




---

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

**Status:** fixed
**Milestone:** 5.0.2
**Created:** Wed Dec 21, 2016 05:54 AM UTC by Hung Nguyen
**Last Updated:** Wed Dec 21, 2016 07:23 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.

This is for 5.0 branch and 5.1 branch. On the default (5.2) branch, the problem 
has been fixed in [#2224]


---

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