diff options
-rw-r--r-- | decoder.c | 2 | ||||
-rw-r--r-- | srd.c | 2 |
2 files changed, 2 insertions, 2 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; } @@ -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(); |