From 820bf44828745e7d0a7bb0974164acd899c3c113 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Wed, 11 Dec 2013 16:30:25 +0100 Subject: Clear decoder list after unloading, not just at exit. --- decoder.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'decoder.c') diff --git a/decoder.c b/decoder.c index af988cb..71f4799 100644 --- a/decoder.c +++ b/decoder.c @@ -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; } -- cgit v1.2.3-70-g09d2