diff options
Diffstat (limited to 'wrapper/rvs.c')
-rw-r--r-- | wrapper/rvs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wrapper/rvs.c b/wrapper/rvs.c index 50343e4..4f2fa1b 100644 --- a/wrapper/rvs.c +++ b/wrapper/rvs.c @@ -20,7 +20,6 @@ const char *ver="0.8c"; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define DEBUG #include "rvs.h" #include "plugins.h" #include "plugin-load.h" @@ -37,8 +36,10 @@ main ( int argc, char *argv[] ) if (argc > 1) { struct plugin_command_list *list; list=plugin_find_commands(plugins,argv[1]); - plugin_depend_list(list,plugins); + struct plugin_command *root; + root=plugin_depend_list(list,plugins); plugin_free_list(list); + plugin_free_command(root); } plugin_free_plugin(plugins); return 0; |