# HG changeset patch # User Ka-Hing Cheung # Date 1195584895 0 # Node ID b8f5e76bbfe9f089b90825a0bdfa49e1938cd471 # Parent 83ab13f4eee7dc2d3774914db7e9dae3b29f6012 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 diff -r 83ab13f4eee7 -r b8f5e76bbfe9 libpurple/protocols/irc/msgs.c --- 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)