Skip to content

Commit 5c9aed2

Browse files
committed
fix mem leak in logging and add notes in source code
1 parent c776574 commit 5c9aed2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/snowflake/connector/cpp/ArrowIterator/CArrowChunkIterator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ CArrowChunkIterator::CArrowChunkIterator(PyObject* context, std::vector<std::sha
9898

9999
CArrowChunkIterator::~CArrowChunkIterator()
100100
{
101+
// TODO: signal 6: SIGABRT free already deallocated memory
101102
for(int i = 0; i < m_arrays.size(); i += 1) {
102103
m_arrays[i]->release(m_arrays[i].get());
103104
ArrowArrayViewReset(m_arrayViews[i].get());

0 commit comments

Comments
 (0)