changeset 27438: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 b118127843cc
children e1090ed76286
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)