mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 04:14:06 +08:00
re PR libgcj/20727 (double free or corruption)
2005-04-02 Anthony Green <green@redhat.com> PR libgcj/20727 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug. From-SVN: r97479
This commit is contained in:
parent
00f07d96bd
commit
2be74e4108
@ -1,3 +1,8 @@
|
||||
2005-04-02 Anthony Green <green@redhat.com>
|
||||
|
||||
PR libgcj/20727
|
||||
* java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
|
||||
|
||||
2005-04-02 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* javax/naming/directory/BasicAttributes.java (equals): Compare to any
|
||||
|
@ -117,7 +117,7 @@ abstract class DirectByteBufferImpl extends ByteBuffer
|
||||
DirectByteBufferImpl(RawData address, int capacity)
|
||||
{
|
||||
super(capacity, capacity, 0, -1);
|
||||
this.owner = this;
|
||||
this.owner = null;
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user