summaryrefslogtreecommitdiff
path: root/vchat-ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-ui.c')
-rw-r--r--vchat-ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index 185cad0..81db925 100644
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -305,9 +305,9 @@ static void sb_flush(struct sb_data *sb) {
305 struct sb_entry *now = sb->entries, *prev = NULL, *tmp; 305 struct sb_entry *now = sb->entries, *prev = NULL, *tmp;
306 while (now) { 306 while (now) {
307 tmp = (struct sb_entry *)((unsigned long)prev ^ (unsigned long)now->link); 307 tmp = (struct sb_entry *)((unsigned long)prev ^ (unsigned long)now->link);
308 prev = now;
308 free(now->what); 309 free(now->what);
309 free(now); 310 free(now);
310 prev = now;
311 now = tmp; 311 now = tmp;
312 } 312 }
313 sb->entries = NULL; 313 sb->entries = NULL;