diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-16 22:49:30 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-16 22:49:30 +0100 |
commit | 8c5c361a0e312fd8dab699c322b2e4db3c598019 (patch) | |
tree | 7df4990f4096bd0716efac19bd1d8c83060f8ce9 | |
parent | 0878d4ba87bbef61248942e856528ebfb18f38eb (diff) | |
download | libsigrokdecode-8c5c361a0e312fd8dab699c322b2e4db3c598019.tar.gz libsigrokdecode-8c5c361a0e312fd8dab699c322b2e4db3c598019.zip |
condition_list_free(): Fix a memory leak.
-rw-r--r-- | instance.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |