Fix a memory leak
This commit is contained in:
parent
31a16dbb14
commit
66ad684283
|
@ -313,6 +313,7 @@ static void freecl(Client *c)
|
||||||
rmpath = g_slist_remove(rmpath, c->pppath);
|
rmpath = g_slist_remove(rmpath, c->pppath);
|
||||||
g_mutex_unlock(&rmm);
|
g_mutex_unlock(&rmm);
|
||||||
g_free(c->pppath);
|
g_free(c->pppath);
|
||||||
|
g_free(c);
|
||||||
}
|
}
|
||||||
static Client *getcl()
|
static Client *getcl()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user