File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ Common Changes
57
57
- avoid memory allocation/free cycles for decimal data
58
58
- eliminated memory leak if OracleDataFrame is not converted to an external
59
59
data frame
60
+ - eliminated small memory leak with production of all data frames
60
61
61
62
#) Fixed bug when NUMBER data is fetched with
62
63
:meth: `Connection.fetch_df_all() ` or :meth: `Connection.fetch_df_batches() `
Original file line number Diff line number Diff line change @@ -336,11 +336,10 @@ cdef class OracleArrowArray:
336
336
cdef:
337
337
int64_t n_buffers = self .arrow_array.n_buffers
338
338
ArrowBufferView * buffer
339
- ArrowArrayView * view
340
- view = < ArrowArrayView* > cpython.PyMem_Malloc(sizeof(ArrowArrayView))
341
- _check_nanoarrow(ArrowArrayViewInitFromSchema(view, self .arrow_schema,
339
+ ArrowArrayView view
340
+ _check_nanoarrow(ArrowArrayViewInitFromSchema(& view, self .arrow_schema,
342
341
NULL ))
343
- _check_nanoarrow(ArrowArrayViewSetArray(view, self .arrow_array, NULL ))
342
+ _check_nanoarrow(ArrowArrayViewSetArray(& view, self .arrow_array, NULL ))
344
343
345
344
# initialize all buffers to None to begin with
346
345
buffers = {
You can’t perform that action at this time.
0 commit comments