Re: resource leaks in sethostent.c

2023-12-07 Thread Taylor R Campbell
> Date: Thu, 7 Dec 2023 13:00:40 -0800 > From: enh > > the malloc one was reported to Android (as > https://android-review.googlesource.com/c/platform/bionic/+/2856549) > by wuhaitao3 ; Chris Ferris > then spotted the goto nospc one. > > the other function in the file looks fine. Thanks, I fil

resource leaks in sethostent.c

2023-12-07 Thread enh
the malloc one was reported to Android (as https://android-review.googlesource.com/c/platform/bionic/+/2856549) by wuhaitao3 ; Chris Ferris then spotted the goto nospc one. the other function in the file looks fine. diff --git a/lib/libc/net/sethostent.c b/lib/libc/net/sethostent.c index b5f7ac8f