Fixed tiny memory leak on reload/shutdown.

此提交包含在:
Jan Vidar Krey
2012-04-19 20:05:36 +02:00
父節點 55030935a7
當前提交 781f22edab

查看文件

@@ -93,6 +93,7 @@ int plugin_unregister(struct plugin_handle* plugin)
plugin->hub.command_del(plugin, data->cleartopic); plugin->hub.command_del(plugin, data->cleartopic);
plugin->hub.command_del(plugin, data->showtopic); plugin->hub.command_del(plugin, data->showtopic);
hub_free(data->topic); hub_free(data->topic);
hub_free(data->cleartopic);
hub_free(data->showtopic); hub_free(data->showtopic);
hub_free(data); hub_free(data);
plugin->ptr = NULL; plugin->ptr = NULL;