changeset 314:77f2093f9310

Fix a memleak.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 11 Jun 2011 06:01:40 +0300
parents 7c96f52e9a3b
children 864e6e52ed69
files nnchat.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Sat Jun 11 06:01:23 2011 +0300
+++ b/nnchat.c	Sat Jun 11 06:01:40 2011 +0300
@@ -647,6 +647,7 @@
             else
                 printMsgQ(NULL, isIgnored, "½11½%s½0½\n", h);
             
+            th_free(name);
             th_free(h);
         } else {
             /* It's an action (/me) */