Mercurial > audlegacy
comparison src/audacious/pluginenum.c @ 3963:572258c68dfb
- for input plugins which provide probe_for_tuple only, now input_do_check_file() calls probe_for_tuple regardless of cfg.use_pl_metadata.
- now audacious frees lists of input plugins attached to ext_hash on quit.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sat, 17 Nov 2007 20:49:26 +0900 |
parents | a575c29cee05 |
children | 26c503cdce58 |
comparison
equal
deleted
inserted
replaced
3959:a575c29cee05 | 3963:572258c68dfb |
---|---|
883 g_free(cfg.disabled_iplugins); | 883 g_free(cfg.disabled_iplugins); |
884 cfg.disabled_iplugins = NULL; | 884 cfg.disabled_iplugins = NULL; |
885 } | 885 } |
886 } | 886 } |
887 | 887 |
888 static void | |
889 remove_list(gpointer key, gpointer value, gpointer data) | |
890 { | |
891 g_list_free(*(GList **)value); | |
892 } | |
893 | |
888 void | 894 void |
889 plugin_system_cleanup(void) | 895 plugin_system_cleanup(void) |
890 { | 896 { |
891 InputPlugin *ip; | 897 InputPlugin *ip; |
892 OutputPlugin *op; | 898 OutputPlugin *op; |
1050 g_list_free(vfs_transports); | 1056 g_list_free(vfs_transports); |
1051 vfs_transports = NULL; | 1057 vfs_transports = NULL; |
1052 } | 1058 } |
1053 | 1059 |
1054 mowgli_dictionary_destroy(plugin_dict, NULL, NULL); | 1060 mowgli_dictionary_destroy(plugin_dict, NULL, NULL); |
1061 g_hash_table_foreach(ext_hash, remove_list, NULL); | |
1055 g_hash_table_remove_all(ext_hash); | 1062 g_hash_table_remove_all(ext_hash); |
1056 } | 1063 } |