Fix a memory leak

This commit is contained in:
jun7 2018-12-16 19:30:13 +09:00
parent 31a16dbb14
commit 66ad684283

View File

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