Module: ngircd.git Branch: master Commit: eb86d234f8553cb018fe86483ee754817689439a URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=eb86d...
Author: Federico G. Schwindt fgsch@lodoss.net Date: Fri Aug 23 11:43:28 2013 +0100
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 3269028..1c71034 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; }
ngircd-commits@lists.barton.de