From 30ec879cd29b5f58d838b93e33149c09077d16a0 Mon Sep 17 00:00:00 2001 From: Blair Bonnett Date: Wed, 8 Aug 2012 17:14:24 +1200 Subject: [PATCH] Fix small memory leak in reserved SID code. --- src/core/usermanager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/usermanager.c b/src/core/usermanager.c index 7fe9aec..6b7ffbe 100644 --- a/src/core/usermanager.c +++ b/src/core/usermanager.c @@ -125,6 +125,7 @@ void remove_reserved_sid(void *node) LOG_INFO("Removing reserved SID %s for %s", sid_to_string(resv->sid), resv->dummy_user->id.nick); sid_free(resv->pool, resv->sid); free(resv->dummy_user); + free(resv); } int uman_init(struct hub_info* hub)