diff libpurple/protocols/irc/msgs.c @ 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 ba41f2a60253
children 6b42bed44324
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)