From 1f7f6a43f9de44dd6c155bf699896c46e60ff862 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Fri, 26 Jun 2009 01:16:07 +0200 Subject: [PATCH] Fixed small memory leak. --- src/hub.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hub.c b/src/hub.c index d48ea34..1f207ec 100644 --- a/src/hub.c +++ b/src/hub.c @@ -543,6 +543,8 @@ void hub_shutdown_service(struct hub_info* hub) uman_shutdown(hub); hub->status = hub_status_stopped; event_base_free(hub->evbase); + hub_free(hub->sendbuf); + hub_free(hub->recvbuf); hub_free(hub); hub = 0; g_hub = 0;