summaryrefslogtreecommitdiff
path: root/extra/moc/gcc-undefined-symbols.diff
blob: 09e9b8bda247b2bc67e426d88c0235a125f659c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- decoder.c~	2011-05-08 09:28:28.077137883 +0200
+++ decoder.c	2011-05-10 21:40:48.887941968 +0200
@@ -259,6 +259,9 @@
 	for (i = 0; i < plugins_num; i++)
 		if (plugins[i].decoder->destroy)
 			plugins[i].decoder->destroy ();
+	for (i = 0; i < plugins_num; i++)
+		if (plugins[i].handle)
+                    lt_dlclose(plugins[i].handle);
 
 	if (lt_dlexit())
 		logit ("lt_exit() failed: %s", lt_dlerror());