From eb86d234f8553cb018fe86483ee754817689439a Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Fri, 23 Aug 2013 11:43:28 +0100 Subject: [PATCH] Plug memory leak --- src/ngircd/client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ngircd/client.c b/src/ngircd/client.c index 32690288..1c710344 100644 --- a/src/ngircd/client.c +++ b/src/ngircd/client.c @@ -126,6 +126,8 @@ Client_Exit( void ) next = (CLIENT *)c->next; if (c->account_name) free(c->account_name); + if (c->cloaked) + free(c->cloaked); free( c ); c = next; }