diff options
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; |