diff options
author | Bert Vermeulen <bert@biot.com> | 2013-12-11 16:30:25 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-12-11 16:30:25 +0100 |
commit | 820bf44828745e7d0a7bb0974164acd899c3c113 (patch) | |
tree | 31315c88bc7b6f7c2c246690501a42f838256842 /decoder.c | |
parent | b74823812d4106bfafc4a7fef1d4a141dac58519 (diff) | |
download | libsigrokdecode-820bf44828745e7d0a7bb0974164acd899c3c113.tar.gz libsigrokdecode-820bf44828745e7d0a7bb0974164acd899c3c113.zip |
Clear decoder list after unloading, not just at exit.
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -601,6 +601,8 @@ SRD_API int srd_decoder_unload_all(void) dec = l->data; srd_decoder_unload(dec); } + g_slist_free(pd_list); + pd_list = NULL; return SRD_OK; } |