Re: [PATCH 1/3] libshouldbeinlibc: fix reference counting in port_name_xlator_create

2013-11-09 Thread Samuel Thibault
Justus Winter, le Thu 07 Nov 2013 19:12:28 +0100, a écrit : > Both task ports are deallocated in the destructor, so they must be > referenced in the constructor. Ack. But then we are missing dereference in if (err) case below. > * libshouldbeinlibc/portxlate.c (port_name_xlator_create): Fix >

[PATCH 1/3] libshouldbeinlibc: fix reference counting in port_name_xlator_create

2013-11-07 Thread Justus Winter
Both task ports are deallocated in the destructor, so they must be referenced in the constructor. * libshouldbeinlibc/portxlate.c (port_name_xlator_create): Fix reference counting. --- libshouldbeinlibc/portxlate.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/libshouldbeinlibc/portx