From 86eda38c99aeaf3762628ea6d53cbc5eb3953d0e Mon Sep 17 00:00:00 2001 From: Nicolas Cornu Date: Tue, 8 Oct 2024 17:15:17 +0200 Subject: [PATCH] No more needed --- src/nrnpython/nrnpy_p2h.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/nrnpython/nrnpy_p2h.cpp b/src/nrnpython/nrnpy_p2h.cpp index 406cfa835e..659c94a950 100644 --- a/src/nrnpython/nrnpy_p2h.cpp +++ b/src/nrnpython/nrnpy_p2h.cpp @@ -957,7 +957,6 @@ static Object* py_alltoall_type(int size, int type) { for (auto&& [i, p]: enumerate(psrc_list)) { if (p.is_none()) { scnt[i] = 0; - p.dec_ref(); continue; } auto b = pickle(p.ptr());