Skip to content

connection: Fix memory leak in new_tls_connection

Mart Raudsepp requested to merge mraudsepp/fix-connection-leak into master

commit d72d9eab seems to have added a memory leak for each connection under some circumstances (I don't quite understand why I can't seemingly reproduce it with e.g. examples/get.c). This attempts to fix it, and does for my app, but it might be more involved than this for all I know.

Merge request reports