The last command registered wasn't added to the list, so was leaking at uninit.

Thu, 09 Jul 2009 02:27:38 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Thu, 09 Jul 2009 02:27:38 +0000
changeset 27697
c0136c5dee5c
parent 27696
2cd9b9331f06
child 27698
e19d3ab2ce67

The last command registered wasn't added to the list, so was leaking at uninit.

libpurple/protocols/jabber/jabber.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/jabber.c	Thu Jul 09 02:18:46 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Thu Jul 09 02:27:38 2009 +0000
@@ -3371,6 +3371,7 @@
 					  PURPLE_CMD_FLAG_ALLOW_WRONG_ARGS,
 					  "prpl-jabber", jabber_cmd_buzz,
 					  _("buzz: Buzz a user to get their attention"), NULL);
+	jabber_cmds = g_slist_prepend(jabber_cmds, GUINT_TO_POINTER(id));
 }
 
 void jabber_unregister_commands(void)

mercurial