Re: [HelenOS-devel] Remove leak in tcp_pdu_encode

2016-03-30 Thread Jakub Jermář
Hi Manuele, On 03/29/2016 12:10 PM, Manuele Conti wrote: > I found a memory leak in tcp_pdu_encode function and I try to fix it. I fixed this in mainline,2443 along with another leak and a missing check for failed tcp_header_encode(). Thanks, Jakub

[HelenOS-devel] Remove leak in tcp_pdu_encode

2016-03-29 Thread Manuele Conti
Hi all, I found a memory leak in tcp_pdu_encode function and I try to fix it. Regards, Manuele === modified file 'uspace/srv/net/tcp/pdu.c' --- uspace/srv/net/tcp/pdu.c 2015-05-22 07:21:37 + +++ uspace/srv/net/tcp/pdu.c 2016-03-29 10:06:56 + @@ -333,8 +333,10 @@ text_size =