pidgin/pidgin

Fix a double free in jabber/message.c and silence a warning
release-2.x.y
2021-09-23, Gary Kramlich
740dafa46e5e
Fix a double free in jabber/message.c and silence a warning

JabberBuddyResource is handled internally, but it's free function, which is static, does in fact free the thread_id as well.

Testing Done:
Compiled

Bugs closed: PIDGIN-17547

Reviewed at https://reviews.imfreedom.org/r/932/
/** @page cmd-signals Command Signals
@signals
@signal cmd-added
@signal cmd-removed
@endsignals
@see cmds.h
@signaldef cmd-added
@signalproto
void (*cmd_added)(const char *command, PurpleCmdPriority priority,
PurpleCmdFlag flag);
@endsignalproto
@signaldesc
Emitted when a new command is added.
@param command The new command.
@param priority The priority of the new command.
@param flag The command flags.
@endsignaldef
@signaldef cmd-removed
@signalproto
void (*cmd_removed)(const char *command);
@endsignalproto
@signaldesc
Emitted when a command is removed.
@param command The removed command.
@endsignaldef
*/