From: Uwe Hermann Date: Sat, 16 Nov 2019 21:49:30 +0000 (+0100) Subject: condition_list_free(): Fix a memory leak. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8c5c361a0e312fd8dab699c322b2e4db3c598019;p=libsigrokdecode.git condition_list_free(): Fix a memory leak. --- 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; }