Fix small memory leak in reserved SID code.

This commit is contained in:
Blair Bonnett 2012-08-08 17:14:24 +12:00
parent c3b368a68a
commit 30ec879cd2

View File

@ -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)