Memory leak fixes.
[silc.git] / lib / silcclient / client.c
index 5eeb6c3505d697a9c49215d4131d33d4528ef69c..1d7884553696564c1dd8bca8477034cfc25760ce 100644 (file)
@@ -730,10 +730,9 @@ void silc_client_del_connection(SilcClient client, SilcClientConnection conn)
   if (conn->internal->sha1hash)
     silc_hash_free(conn->internal->sha1hash);
   silc_atomic_uninit16(&conn->internal->cmd_ident);
-
+  silc_free(conn->internal->away_message);
   if (conn->internal->rekey)
     silc_ske_free_rekey_material(conn->internal->rekey);
-
   if (conn->internal->cop)
     silc_async_free(conn->internal->cop);