jabber_get_status no longer returns newly allocated string

This commit is contained in:
James Booth
2013-01-28 21:17:00 +00:00
parent bf1cf04447
commit cb24ba8be1
2 changed files with 2 additions and 6 deletions

View File

@@ -2181,8 +2181,6 @@ _cmd_set_priority(gchar **args, struct cmd_help_t help)
prefs_set_priority((int)intval);
// update presence with new priority
jabber_update_presence(jabber_get_presence(), status, 0);
if (status != NULL)
free(status);
cons_show("Priority set to %d.", intval);
}