Update free, lens and tls

Signed-off-by: Nicola Squartini <tensor5@gmail.com>