Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 8520b62

Browse files
Fix for python objects leaked in df unboxing (#946)
1 parent 70b5ae8 commit 8520b62

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sdc/hiframes/boxing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ def unbox_dataframe(typ, val, c):
115115
native_val = _unbox_series_data(column_dtype, ty_series, arr_obj, c)
116116

117117
inst.setitem(c.context.get_constant(types.intp, i), native_val.value, incref=False)
118+
c.pyapi.decref(arr_obj)
119+
c.pyapi.decref(series_obj)
118120

119121
dataframe.data = c.builder.insert_value(dataframe.data, inst.value, type_id)
120122

0 commit comments

Comments
 (0)