summaryrefslogtreecommitdiff
path: root/srd.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-12-11 16:30:25 +0100
committerBert Vermeulen <bert@biot.com>2013-12-11 16:30:25 +0100
commit820bf44828745e7d0a7bb0974164acd899c3c113 (patch)
tree31315c88bc7b6f7c2c246690501a42f838256842 /srd.c
parentb74823812d4106bfafc4a7fef1d4a141dac58519 (diff)
downloadlibsigrokdecode-820bf44828745e7d0a7bb0974164acd899c3c113.tar.gz
libsigrokdecode-820bf44828745e7d0a7bb0974164acd899c3c113.zip
Clear decoder list after unloading, not just at exit.
Diffstat (limited to 'srd.c')
-rw-r--r--srd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/srd.c b/srd.c
index 1c7f6f9..76e1b34 100644
--- a/srd.c
+++ b/srd.c
@@ -194,8 +194,6 @@ SRD_API int srd_exit(void)
srd_session_destroy((struct srd_session *)l->data);
srd_decoder_unload_all();
- g_slist_free(pd_list);
- pd_list = NULL;
/* Py_Finalize() returns void, any finalization errors are ignored. */
Py_Finalize();