about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-02-14 01:59:53 +0000
committerJames Booth <boothj5@gmail.com>2016-02-14 01:59:53 +0000
commitf887a35c0cd550a3c635630da2bd83bb7400b957 (patch)
tree686077122ff4e599ae1bc99ad715ae11d4a57ab0 /src/ui
parentd7b331874a1a98ad97ca9f331d4eab5d81b29b13 (diff)
downloadprofani-tty-f887a35c0cd550a3c635630da2bd83bb7400b957.tar.gz
Fixed memory deallocations
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/rosterwin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c
index 964b006c..7e9009b1 100644
--- a/src/ui/rosterwin.c
+++ b/src/ui/rosterwin.c
@@ -759,6 +759,7 @@ _rosterwin_room(ProfLayoutSplit *layout, ProfMucWin *mucwin)
     } else {
         g_string_append(msg, mucwin->roomjid);
     }
+    prefs_free_string(roombypref);
     if ((g_strcmp0(unreadpos, "after") == 0) && mucwin->unread > 0) {
         g_string_append_printf(msg, " (%d)", mucwin->unread);
     }