Re: [reSIProcate] Memory leaks in Helper.cxx
Thanks Volodymyr! I'll commit this fix.
Regards,
Scott
On Tue, Oct 19, 2010 at 2:54 PM, Volodymyr Tarasenko
<tvntsr@xxxxxxxxx> wrote:
Hi,
As I see there is a memory leak in Helper in some circumstances.
For example, let see a Helper::makeRequest(const NameAddr& target, const NameAddr& from, const NameAddr& contact, MethodTypes method).
At the first line a new sip message is allocated but in case of exception this object will never be deleted. Exception is possible if some badly formed values are in NameAddr...
The fix is in attach.
Regards,
Volodymyr!
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel