Skip to content
Browse files

Merge branch 'master' of http://github.com/Vagabond/APE_Server into V…

…agabond-master
  • Loading branch information...
2 parents 3a6e0be + 8333f33 commit 76f3955f172989ab8fc5fd555a6f7dc2ac84af05 @paraboul paraboul committed Oct 15, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/plugins.c
View
6 src/plugins.c
@@ -107,15 +107,15 @@ void findandloadplugin(acetables *g_ape)
void free_all_plugins(acetables *g_ape)
{
- ace_plugins *prev;
+ ace_plugins *next;
while (g_ape->plugins != NULL) {
g_ape->plugins->unloader(g_ape);
// dlclose(g_ape->plugins->hPlug);
- prev = g_ape->plugins;
- g_ape->plugins = g_ape->plugins->next;
+ next = g_ape->plugins->next;
free(g_ape->plugins);
+ g_ape->plugins = next;
}
}

0 comments on commit 76f3955

Please sign in to comment.
Something went wrong with that request. Please try again.