about summary refs log tree commit diff stats
path: root/src/xmpp/presence.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/presence.c')
-rw-r--r--src/xmpp/presence.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c
index 5120e231..d6a2c7f2 100644
--- a/src/xmpp/presence.c
+++ b/src/xmpp/presence.c
@@ -545,6 +545,7 @@ _available_handler(xmpp_conn_t * const conn,
         if (priority_str != NULL) {
             priority = atoi(priority_str);
         }
+        free(priority_str);
     }
 
     resource_presence_t presence = resource_presence_from_string(show_str);