diff options
author | Marcus Comstedt <marcus@mc.pp.se> | 2017-02-26 12:52:12 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2017-02-26 14:56:56 +0100 |
commit | 066fbafdc3ba734a73b5f7fcfa1dbae67ddebf8a (patch) | |
tree | 18fda8ccb22b2f055e08f224e2cafec83ddf28ae /decoders/common/plugtrx/mod.py | |
parent | e27d3e67cb69d54936399cd97a4c40c9842549a7 (diff) | |
download | libsigrokdecode-066fbafdc3ba734a73b5f7fcfa1dbae67ddebf8a.tar.gz libsigrokdecode-066fbafdc3ba734a73b5f7fcfa1dbae67ddebf8a.zip |
Fix refcounting bug in set_new_condition_list()
py_conditionlist is an owned reference (it gets passed to Py_DecRef()
at the end), so we need to increment the refcount when assigning it
from the borrowed reference py_conds.
Diffstat (limited to 'decoders/common/plugtrx/mod.py')
0 files changed, 0 insertions, 0 deletions