[PATCH 5.10 25/54] chtls: Fix potential resource leak