]> sigrok.org Git - libsigrokdecode.git/blobdiff - type_decoder.c
No need to mess with method reference counts.
[libsigrokdecode.git] / type_decoder.c
index 6140fd0b21e63112b54259fcb56a6bf3dc618b4e..6810d919043bc61337aa0f6b936fa4eefdc34d90 100644 (file)
@@ -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);