Fixed tiny memory leak on reload/shutdown.
This commit is contained in:
1 parent
55030935a7
commit
781f22edab
1 file changed
+1
@@ -93,6 +93,7 @@ int plugin_unregister(struct plugin_handle* plugin)
|
||||
plugin->hub.command_del(plugin, data->cleartopic);
|
||||
plugin->hub.command_del(plugin, data->showtopic);
|
||||
hub_free(data->topic);
|
||||
hub_free(data->cleartopic);
|
||||
hub_free(data->showtopic);
|
||||
hub_free(data);
|
||||
plugin->ptr = NULL;
|
||||
|
||||
Reference in new issue
Block a user