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:
committed by
Anthony Green
parent
00f07d96bd
commit
2be74e4108
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user