fixed plugin loader destruction

This commit is contained in:
Martin Willi
2008-06-25 14:53:49 +00:00
parent 1b7d2e31a6
commit 236083cb56
+1 -1
View File
@@ -169,7 +169,7 @@ static enumerator_t* create_plugin_enumerator(private_plugin_loader_t *this)
static void destroy(private_plugin_loader_t *this)
{
this->plugins->destroy_offset(this->plugins, offsetof(plugin_t, destroy));
this->plugins->destroy_function(this->plugins, free);
this->names->destroy_function(this->names, free);
free(this);
}