Skip to content

Commit

Permalink
Correct another delete to free
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Mar 27, 2024
1 parent e9dbe8f commit 53b9e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtiledbsoma/src/utils/arrow_adapter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void ArrowAdapter::release_array(struct ArrowArray* array) {
delete arrow_buffer;

if (array->buffers != nullptr) {
delete[] array->buffers;
free(array->buffers);
array->buffers = nullptr;

Check warning on line 110 in libtiledbsoma/src/utils/arrow_adapter.cc

View check run for this annotation

Codecov / codecov/patch

libtiledbsoma/src/utils/arrow_adapter.cc#L109-L110

Added lines #L109 - L110 were not covered by tests
}

Expand Down

0 comments on commit 53b9e57

Please sign in to comment.