pidgin: d2767f00: The last command registered wasn't added...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed Jul 8 22:30:41 EDT 2009


-----------------------------------------------------------------
Revision: d2767f006fbed8c3a6b3814f4a8419df38b5ff87
Ancestor: 7eca271cb8c078140b6ba844a0551c1b8ff7e248
Author: darkrain42 at pidgin.im
Date: 2009-07-09T02:27:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d2767f006fbed8c3a6b3814f4a8419df38b5ff87

Modified files:
        libpurple/protocols/jabber/jabber.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	c5c70221a012e8a06a4e5a4ff5cf88cf0da211fc
+++ libpurple/protocols/jabber/jabber.c	b3e42231c0e2de37f996e14d93fc105c35257eb4
@@ -3371,6 +3371,7 @@ void jabber_register_commands(void)
 					  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)


More information about the Commits mailing list