remove Py_DECREF in ldn