mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 07:06:21 +00:00
Some more memory improvements
* Less leaks * Less allocations Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
@@ -169,6 +169,10 @@ connection_shutdown(void)
|
||||
connection_clear_data();
|
||||
g_hash_table_destroy(conn.requested_features);
|
||||
g_hash_table_destroy(conn.available_resources);
|
||||
if (conn.sm_state) {
|
||||
xmpp_free_sm_state(conn.sm_state);
|
||||
conn.sm_state = NULL;
|
||||
}
|
||||
if (conn.xmpp_conn) {
|
||||
xmpp_conn_release(conn.xmpp_conn);
|
||||
conn.xmpp_conn = NULL;
|
||||
|
||||
Reference in New Issue
Block a user