Fix small memory leak in reserved SID code.
This commit is contained in:
parent
c3b368a68a
commit
30ec879cd2
@ -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);
|
LOG_INFO("Removing reserved SID %s for %s", sid_to_string(resv->sid), resv->dummy_user->id.nick);
|
||||||
sid_free(resv->pool, resv->sid);
|
sid_free(resv->pool, resv->sid);
|
||||||
free(resv->dummy_user);
|
free(resv->dummy_user);
|
||||||
|
free(resv);
|
||||||
}
|
}
|
||||||
|
|
||||||
int uman_init(struct hub_info* hub)
|
int uman_init(struct hub_info* hub)
|
||||||
|
Loading…
Reference in New Issue
Block a user