X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=type_decoder.c;h=6810d919043bc61337aa0f6b936fa4eefdc34d90;hp=6140fd0b21e63112b54259fcb56a6bf3dc618b4e;hb=5ece2a0623d22421300ea6844de569ae87a07d5e;hpb=e6449805fc8d56d0d8ff4003d123437e799b242f;ds=sidebyside 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);