diff libpurple/protocols/jabber/jabber.c @ 27514:889bf9af9706

The last command registered wasn't added to the list, so was leaking at uninit.
author Paul Aurich <paul@darkrain42.org>
date Thu, 09 Jul 2009 02:27:38 +0000
parents f541583e31bd
children 7a2891487a00 3bb1085235d0
line wrap: on
line diff
--- 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)