X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=controller.c;h=7987ea172b8d2270d9fc221246b57e84ab71f0fc;hp=2f766651864c2a34f8691797a2beb15b01da0246;hb=b88e336b86493ee3d893f563d1d847d901f8ce07;hpb=ca3fc3c0c042ecf509f8218e417655c04c9b9831 diff --git a/controller.c b/controller.c index 2f76665..7987ea1 100644 --- a/controller.c +++ b/controller.c @@ -403,6 +403,7 @@ SRD_API int srd_inst_option_set(struct srd_decoder_inst *di, if (PyDict_SetItemString(py_di_options, key, py_optval) == -1) goto err_out; g_free(key); + key = NULL; } ret = SRD_OK;