From: Guus Sliepen Date: Sun, 17 Apr 2016 14:23:31 +0000 (+0200) Subject: Don't call terminate_connection(myself->connection). X-Git-Tag: release-1.1pre12~9 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=f934417aa658367587dadc81bd5c466baef407ef;hp=f934417aa658367587dadc81bd5c466baef407ef Don't call terminate_connection(myself->connection). It doesn't do anything except give a confusing error message that we are closing the connection to ourself. Replace it with connection_del(). This also fixes a double free. ---