From 781f22edab2b404ec65a234a734204b107a83ccb Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Thu, 19 Apr 2012 20:05:36 +0200 Subject: [PATCH] Fixed tiny memory leak on reload/shutdown. --- src/plugins/mod_topic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/mod_topic.c b/src/plugins/mod_topic.c index 555b596..d9fdf1e 100644 --- a/src/plugins/mod_topic.c +++ b/src/plugins/mod_topic.c @@ -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;