summaryrefslogtreecommitdiff
path: root/type_decoder.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-12-13 11:29:59 +0100
committerBert Vermeulen <bert@biot.com>2013-12-13 11:29:59 +0100
commit5ece2a0623d22421300ea6844de569ae87a07d5e (patch)
tree9565c6afab17e3af6ca0f16acd9d2be636a0dba8 /type_decoder.c
parente6449805fc8d56d0d8ff4003d123437e799b242f (diff)
downloadlibsigrokdecode-5ece2a0623d22421300ea6844de569ae87a07d5e.tar.gz
libsigrokdecode-5ece2a0623d22421300ea6844de569ae87a07d5e.zip
No need to mess with method reference counts.
Diffstat (limited to 'type_decoder.c')
-rw-r--r--type_decoder.c2
1 files changed, 0 insertions, 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);