changeset 21599:b8f5e76bbfe9

another patch from my coworker Andrew Gaul that plugged a leak, I fixed it to use g_strfreev instead of just free. He told me he's now running pidgin full time under valgrind
author Ka-Hing Cheung <khc@hxbc.us>
date Tue, 20 Nov 2007 18:54:55 +0000
parents 83ab13f4eee7
children 3f8e1ef0a8fb
files libpurple/protocols/irc/msgs.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/irc/msgs.c	Tue Nov 20 15:55:13 2007 +0000
+++ b/libpurple/protocols/irc/msgs.c	Tue Nov 20 18:54:55 2007 +0000
@@ -138,6 +138,8 @@
 				irc->mode_chars = g_strdup(val + 1);
 		}
 	}
+
+	g_strfreev(features);
 }
 
 void irc_msg_luser(struct irc_conn *irc, const char *name, const char *from, char **args)