about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-02-09 22:11:25 +0000
committerJames Booth <boothj5@gmail.com>2015-02-09 22:11:25 +0000
commit64774a947edf87f6acae07305861149f5194052b (patch)
tree75ad173244441c907a626547fdd7f9d2d2c47424 /src/command
parent51ccb695804fc4174b59cd45b7008f13bddd4739 (diff)
parent5c9dd2802a6aefcaa67cbf03a65128b595b587c9 (diff)
downloadprofani-tty-64774a947edf87f6acae07305861149f5194052b.tar.gz
Merge branch 'master' into readline
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c5
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);