From ca3fc3c0c042ecf509f8218e417655c04c9b9831 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Wed, 8 May 2013 22:25:37 +0200 Subject: Fix double free --- decoder.c | 1 + 1 file changed, 1 insertion(+) (limited to 'decoder.c') 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); -- cgit v1.2.3-70-g09d2