From 244ec3f3d466d4279f60a1377a30e2c7c4c42825 Mon Sep 17 00:00:00 2001 From: Gavan Fantom Date: Sun, 29 Apr 2007 12:26:05 +0000 Subject: [PATCH] Call correct function on plugin shutdown --- src/lsi/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lsi/main.c b/src/lsi/main.c index 283705b..7307858 100644 --- a/src/lsi/main.c +++ b/src/lsi/main.c @@ -16,7 +16,7 @@ void finish(void) for (i = nplugins-1; i >= 0; i--) { printf("Shutting down plugin '%s'\n", PT(i).pl_name); - (PT(i).pl_init)(); + (PT(i).pl_shutdown)(); printf("Plugin '%s' shut down\n", PT(i).pl_name); PT(i).pl_active = 0; }