diff options
author | Bert Vermeulen <bert@biot.com> | 2013-05-08 22:25:37 +0200 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-05-08 22:25:48 +0200 |
commit | ca3fc3c0c042ecf509f8218e417655c04c9b9831 (patch) | |
tree | 74782d8804917f98cbde154985c83839dfdfd156 /decoder.c | |
parent | 3abc83b996547a69bad906ec748f30874aae4796 (diff) | |
download | libsigrokdecode-ca3fc3c0c042ecf509f8218e417655c04c9b9831.tar.gz libsigrokdecode-ca3fc3c0c042ecf509f8218e417655c04c9b9831.zip |
Fix double free
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -218,6 +218,7 @@ static int get_options(struct srd_decoder *d) g_variant_ref_sink(o->def); d->options = g_slist_append(d->options, o); g_free(key); + key = NULL; } Py_DecRef(py_keys); Py_DecRef(py_values); |