From cfcbcf84b6ab0543c4ed00ab1f53ef15714b4c7a Mon Sep 17 00:00:00 2001 From: Wang Rui <55612496+wr-web@users.noreply.github.com> Date: Tue, 5 May 2026 13:38:57 +0800 Subject: [PATCH] Remove incorrect Py_DECREF for marker https://github.com/idealo/imagededup/issues/242 Signed-off-by: Wang Rui <55612496+wr-web@users.noreply.github.com> --- imagededup/handlers/search/brute_force_cython_ext.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/imagededup/handlers/search/brute_force_cython_ext.cpp b/imagededup/handlers/search/brute_force_cython_ext.cpp index 0c97881..f68d2d5 100644 --- a/imagededup/handlers/search/brute_force_cython_ext.cpp +++ b/imagededup/handlers/search/brute_force_cython_ext.cpp @@ -6019,7 +6019,6 @@ __Pyx_CyFunction_get_is_coroutine_value(__pyx_CyFunctionObject *op) { PyList_SET_ITEM(fromlist, 0, marker); #else if (unlikely(PyList_SetItem(fromlist, 0, marker) < 0)) { - Py_DECREF(marker); Py_DECREF(fromlist); return NULL; }