Re: memory leak in io_util.c

2009-01-08 Thread Alan Bateman
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

memory leak in io_util.c

2009-01-07 Thread Martin Buchholz
This is a followup to our previous io_util.c fixing. Alan, please file a bug: Description: When a user reads from a closed FileInputStream or RandomAccessFile into a byte array (or a region thereof) larger than 8k, an internal native buffer created for the read is