Skip to content

Commit

Permalink
chore(cairo): fix memory leak in LimitRecordCursorFactory (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickSpaceSurfer committed Aug 19, 2020
1 parent 3e3acda commit 2e3fc96
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public boolean recordCursorSupportsRandomAccess() {
return base.recordCursorSupportsRandomAccess();
}

@Override
public void close() {
base.close();
}

private static class LimitRecordCursor implements RecordCursor {
private final Function loFunction;
private final Function hiFunction;
Expand Down

0 comments on commit 2e3fc96

Please sign in to comment.