diff options
author | James Booth <boothj5@gmail.com> | 2015-02-09 22:11:25 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-02-09 22:11:25 +0000 |
commit | 64774a947edf87f6acae07305861149f5194052b (patch) | |
tree | 75ad173244441c907a626547fdd7f9d2d2c47424 /src/command | |
parent | 51ccb695804fc4174b59cd45b7008f13bddd4739 (diff) | |
parent | 5c9dd2802a6aefcaa67cbf03a65128b595b587c9 (diff) | |
download | profani-tty-64774a947edf87f6acae07305861149f5194052b.tar.gz |
Merge branch 'master' into readline
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/commands.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 2059c982..6eca1bd1 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1069,6 +1069,7 @@ _who_roster(gchar **args, struct cmd_help_t help) cons_show_contacts(filtered); } } + g_slist_free(filtered); // unavailable } else if (strcmp("unavailable", presence) == 0) { @@ -1097,6 +1098,7 @@ _who_roster(gchar **args, struct cmd_help_t help) cons_show_contacts(filtered); } } + g_slist_free(filtered); // online, available resources } else if (strcmp("online", presence) == 0) { @@ -1125,6 +1127,7 @@ _who_roster(gchar **args, struct cmd_help_t help) cons_show_contacts(filtered); } } + g_slist_free(filtered); // offline, no available resources } else if (strcmp("offline", presence) == 0) { @@ -1153,6 +1156,7 @@ _who_roster(gchar **args, struct cmd_help_t help) cons_show_contacts(filtered); } } + g_slist_free(filtered); // show specific status } else { @@ -1181,6 +1185,7 @@ _who_roster(gchar **args, struct cmd_help_t help) cons_show_contacts(filtered); } } + g_slist_free(filtered); } g_slist_free(list); |