Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/main/java/io/tiledb/java/api/SubArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -798,14 +798,11 @@ public synchronized boolean hasLabelRanges(long index) throws TileDBError {
}

@Override
public void close() throws Exception {
public void close() {
if (subArrayp != null && subArraypp != null) {
tiledb.tiledb_subarray_free(subArraypp);
subArrayp = null;
subArraypp = null;
if (array != null) {
array.close();
}
}
}
}