- **status**: accepted --> fixed
- **Comment**:

commit ee5774cb0b99a918e75d2061ab62fe85e0ed72a1 (ticket-3273)
Author: huu.t.truong <[email protected]>
Date:   Tue Jul 20 10:52:43 2021 +0700

    amf: fix leak memory in function avnd_di_object_upd_send() [#3273]

    In avnd_di_msg_send(), the memory need to be released if the message
    adds to the queue failed.




---

** [tickets:#3273] amfnd: memory leak in function avnd_di_object_upd_send()**

**Status:** fixed
**Milestone:** 5.21.10
**Created:** Fri Jul 16, 2021 02:31 AM UTC by Huu The Truong
**Last Updated:** Tue Jul 20, 2021 02:36 AM UTC
**Owner:** Huu The Truong


Mem leak reports:
/opensaf-code/src/amf/amfnd/di.cc:1090:12: Potential leak of memory pointed to 
by 'msg.info.avd' [unix.Malloc]:
      rc = NCSCC_RC_FAILURE;
     
The memory should be released if the message adds to the queue failed.


---

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