Free the connection language.
This created a memory leak when freeing a connection.
This commit is contained in:
@@ -269,6 +269,7 @@ int xmpp_conn_release(xmpp_conn_t * const conn)
|
||||
if (conn->jid) xmpp_free(ctx, conn->jid);
|
||||
if (conn->pass) xmpp_free(ctx, conn->pass);
|
||||
if (conn->stream_id) xmpp_free(ctx, conn->stream_id);
|
||||
if (conn->lang) xmpp_free(ctx, conn->lang);
|
||||
xmpp_free(ctx, conn);
|
||||
released = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user