- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -1,2 +1,2 @@
 In the method NtfAdmin::deleteConfirmedNotification(...), the NtfNotification 
object should be destroyed after NtfAdmin::notificationMap erases the 
NtfSmartPtr.
-But the fact that there's another container (NtfLogger::coll_) still owning 
this shared_ptr, thus the destructor of NtfNotification will not be invoked. 
That causes memory leak
+But the fact that there's another container (NtfLogger::coll_) still owning 
this shared_ptr, thus the destructor of NtfNotification will not be invoked. 
That causes memory leak because NtfLogger::coll_ has never removed its element

~~~~




---

** [tickets:#999] NTF: memory leak due to missing removal of std:tr1:shared_ptr 
in last container**

**Status:** assigned
**Milestone:** 4.5.0
**Created:** Wed Aug 20, 2014 02:09 PM UTC by Minh Hon Chau
**Last Updated:** Wed Aug 20, 2014 02:10 PM UTC
**Owner:** Minh Hon Chau

In the method NtfAdmin::deleteConfirmedNotification(...), the NtfNotification 
object should be destroyed after NtfAdmin::notificationMap erases the 
NtfSmartPtr.
But the fact that there's another container (NtfLogger::coll_) still owning 
this shared_ptr, thus the destructor of NtfNotification will not be invoked. 
That causes memory leak because NtfLogger::coll_ has never removed its element



---

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.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to