memory leak in io_util.c

Alan Bateman Alan.Bateman at Sun.COM
Thu Jan 8 12:38:12 UTC 2009


Martin Buchholz wrote:
> This is a followup to our previous io_util.c fixing.
>
> Alan, please file a bug:
>   
Good catch, I've created:
6791458: FileInputStream/RandomAccessFile.read leaks memory if invoked 
on closed stream with len > 8k

The change looks fine. One minor comment on the test is that it probably 
doesn't need to catch OOME.

-Alan.





More information about the core-libs-dev mailing list