From 8c5c361a0e312fd8dab699c322b2e4db3c598019 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 16 Nov 2019 22:49:30 +0100 Subject: condition_list_free(): Fix a memory leak. --- instance.c | 1 + 1 file changed, 1 insertion(+) diff --git a/instance.c b/instance.c index 23732dd..52fb43b 100644 --- a/instance.c +++ b/instance.c @@ -795,6 +795,7 @@ SRD_PRIV void condition_list_free(struct srd_decoder_inst *di) g_slist_free_full(ll, g_free); } + g_slist_free(di->condition_list); di->condition_list = NULL; } -- cgit v1.2.3-70-g09d2