From: Bert Vermeulen Date: Fri, 13 Dec 2013 10:29:59 +0000 (+0100) Subject: No need to mess with method reference counts. X-Git-Tag: libsigrokdecode-0.3.0~187 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commitdiff_plain;h=5ece2a0623d22421300ea6844de569ae87a07d5e No need to mess with method reference counts. --- 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);