about summary refs log tree commit diff stats
path: root/src/event/server_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/server_events.c')
-rw-r--r--src/event/server_events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 7e5e3d7d..6e21fbd6 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -193,7 +193,8 @@ sv_ev_roster_received(void)
         cl_ev_presence_send(conn_presence, 0);
     }
 
-    free(last_activity_str);
+    g_free(status_message);
+    g_free(last_activity_str);
 
     const char* fulljid = connection_get_fulljid();
     plugins_on_connect(account_name, fulljid);