Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions source/loaders/py_loader/source/py_loader_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3926,6 +3926,8 @@ void py_loader_impl_error_print(loader_impl_py py_impl)

log_write("metacall", LOG_LEVEL_ERROR, error_format_str, type_str, value_str, traceback_str ? traceback_str : traceback_not_found);

Py_DecRef(type_str_obj);
Py_DecRef(value_str_obj);
Py_DecRef(traceback_list);
Py_DecRef(separator);
Py_DecRef(traceback_str_obj);
Expand Down Expand Up @@ -3982,6 +3984,7 @@ value py_loader_impl_error_value_from_exception(loader_impl_py py_impl, PyObject

ret = value_create_throwable(th);

Py_DecRef(value_str_obj);
Py_DecRef(traceback_list);
Py_DecRef(separator);
Py_DecRef(traceback_str_obj);
Expand Down