condition_list_free(): Fix a memory leak.
authorUwe Hermann <uwe@hermann-uwe.de>
Sat, 16 Nov 2019 21:49:30 +0000 (22:49 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Sat, 16 Nov 2019 21:49:30 +0000 (22:49 +0100)
instance.c

index 23732ddb3ad1645825aa389c61d2dfa413055206..52fb43be570640a32da26aa61c01fea939421db5 100644 (file)
@@ -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;
 }