Memory leak in dual_tls_receive