comparison plugins/mono/loader/mono.c @ 11679:f05542391cd2

[gaim-migrate @ 13965] warning fixes... committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Mon, 17 Oct 2005 07:13:55 +0000
parents a3302d271199
children 2c8216659a84
comparison
equal deleted inserted replaced
11678:b37c439dfcc0 11679:f05542391cd2
148 return TRUE; 148 return TRUE;
149 } 149 }
150 150
151 /* Destroys a Mono Plugin by calling 'destroy' in the class, 151 /* Destroys a Mono Plugin by calling 'destroy' in the class,
152 and cleaning up all the malloced memory */ 152 and cleaning up all the malloced memory */
153 static gboolean destroy_mono_plugin(GaimPlugin *plugin) 153 static void destroy_mono_plugin(GaimPlugin *plugin)
154 { 154 {
155 GaimMonoPlugin *mplug; 155 GaimMonoPlugin *mplug;
156 156
157 gaim_debug(GAIM_DEBUG_INFO, "mono", "Destroying plugin\n"); 157 gaim_debug(GAIM_DEBUG_INFO, "mono", "Destroying plugin\n");
158 158
175 } 175 }
176 176
177 g_free(mplug); 177 g_free(mplug);
178 mplug = NULL; 178 mplug = NULL;
179 } 179 }
180 180 }
181 return TRUE; 181
182 } 182 static void plugin_destroy(GaimPlugin *plugin)
183
184 gboolean plugin_destroy(GaimPlugin *plugin)
185 { 183 {
186 mono_jit_cleanup(domain); 184 mono_jit_cleanup(domain);
187
188 return TRUE;
189 } 185 }
190 186
191 static GaimPluginLoaderInfo loader_info = 187 static GaimPluginLoaderInfo loader_info =
192 { 188 {
193 NULL, 189 NULL,