From 5ece2a0623d22421300ea6844de569ae87a07d5e Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 13 Dec 2013 11:29:59 +0100 Subject: [PATCH] No need to mess with method reference counts. --- type_decoder.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/type_decoder.c b/type_decoder.c index 6140fd0..6810d91 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -252,8 +252,6 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args) case SRD_OUTPUT_PYTHON: for (l = di->next_di; l; l = l->next) { next_di = l->data; - /* TODO: Is this needed? */ - Py_XINCREF(next_di->py_inst); srd_spew("Sending %d-%d to instance %s", start_sample, end_sample, next_di->inst_id); -- 2.30.2