Don't release borrowed reference
authorBert Vermeulen <bert@biot.com>
Thu, 17 Oct 2013 14:26:58 +0000 (16:26 +0200)
committerBert Vermeulen <bert@biot.com>
Thu, 17 Oct 2013 14:28:18 +0000 (16:28 +0200)
controller.c

index 672ac93258b67d8c8317c9508ae581c337f302a4..c196dad71c9bbfcb47c94ebd3c965765ddde9882 100644 (file)
@@ -407,7 +407,6 @@ SRD_API int srd_inst_option_set(struct srd_decoder_inst *di,
        ret = SRD_OK;
 
 err_out:
-       Py_XDECREF(py_optlist);
        Py_XDECREF(py_di_options);
        Py_XDECREF(py_dec_optkeys);
        Py_XDECREF(py_dec_options);