Mercurial > pidgin
comparison src/plugin.c @ 10279:f9ff0882e247
[gaim-migrate @ 11436]
Nathan convinced me this is wrong, or could be.
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Mon, 29 Nov 2004 13:19:56 +0000 |
| parents | c9872abd9518 |
| children | 6feef0a9098a |
comparison
equal
deleted
inserted
replaced
| 10278:dabcadc17ca0 | 10279:f9ff0882e247 |
|---|---|
| 504 * we shouldn't, and crashing while trying to load an old plugin */ | 504 * we shouldn't, and crashing while trying to load an old plugin */ |
| 505 if(plugin->info == NULL || plugin->info->magic != GAIM_PLUGIN_MAGIC || | 505 if(plugin->info == NULL || plugin->info->magic != GAIM_PLUGIN_MAGIC || |
| 506 plugin->info->major_version != GAIM_MAJOR_VERSION) { | 506 plugin->info->major_version != GAIM_MAJOR_VERSION) { |
| 507 if(plugin->handle) | 507 if(plugin->handle) |
| 508 g_module_close(plugin->handle); | 508 g_module_close(plugin->handle); |
| 509 if(plugin->path != NULL) | |
| 510 g_free(plugin->path); | |
| 511 g_free(plugin); | 509 g_free(plugin); |
| 512 return; | 510 return; |
| 513 } | 511 } |
| 514 | 512 |
| 515 if (plugin->info != NULL && plugin->info->dependencies != NULL) | 513 if (plugin->info != NULL && plugin->info->dependencies != NULL) |
