pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Fix leak in previous commit.
release-2.x.y
2014-11-15, Elliott Sales de Andrade
14555e001a59
Parents
78abe6e4a789
Children
26ad8040bdb4
Fix leak in previous commit.
Refs #13727. Thanks TypoNAM on IRC.
1 files changed, 1 insertions(+), 0 deletions(-)
+1
-0
libpurple/protocols/irc/irc.c
--- a/libpurple/protocols/irc/irc.c Sat Nov 15 02:00:24 2014 -0500
+++ b/libpurple/protocols/irc/irc.c Sat Nov 15 02:03:19 2014 -0500
@@ -82,6 +82,7 @@
body = g_strdup_printf("<span style=\"font-family: monospace;\">%s</span>", irc->motd->str);
purple_notify_formatted(gc, title, title, NULL, body, NULL, NULL);
g_free(title);
+ g_free(body);
}
static int do_send(struct irc_conn *irc, const char *buf, gsize len)