curlpp  

Memory Leak in OptionList::setOpt

Timothy003
Wed, 07 Oct 2009 00:19:53 -0700

There is a potential memory leak in OptionList::setOpt(const
OptionList &) and OptionList::setOpt(const OptionBase &).  It can
occur when the call to OptionList::setOpt(OptionBase *) fails and
throws an exception (possibly by std::map::insert).  As a result, the
cloned OptionBase is lost.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"curlpp" group.
To post to this group, send email to curlpp@googlegroups.com
To unsubscribe from this group, send email to 
curlpp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/curlpp?hl=en
-~----------~----~----~----~------~----~------~--~---

  • Memory Leak in OptionList::setOpt Timothy003