Fix minor valgrind issues

- Fix valgrind invalid write of 1 byte.
- Fix a few plugin related memory leaks.
This commit is contained in:
Jan Vidar Krey
2011-12-01 13:37:07 +01:00
parent c17b43e77f
commit 9f16298688
4 changed files with 15 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ struct uhub_plugin
{
void* handle;
plugin_unregister_f unregister;
char* filename;
};
struct uhub_plugins