summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder.c b/decoder.c
index de9b33b..5eac220 100644
--- a/decoder.c
+++ b/decoder.c
@@ -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);