diff options
author | Bert Vermeulen <bert@biot.com> | 2013-05-23 11:24:25 +0200 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-05-23 11:24:25 +0200 |
commit | b88e336b86493ee3d893f563d1d847d901f8ce07 (patch) | |
tree | d697d9bce8134cf528220a734d2e418ec93ea23b /controller.c | |
parent | ca3fc3c0c042ecf509f8218e417655c04c9b9831 (diff) | |
download | libsigrokdecode-b88e336b86493ee3d893f563d1d847d901f8ce07.tar.gz libsigrokdecode-b88e336b86493ee3d893f563d1d847d901f8ce07.zip |
Fix double free
Diffstat (limited to 'controller.c')
-rw-r--r-- | controller.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |