From: Guus Sliepen Date: Sat, 3 Jan 2009 21:06:10 +0000 (+0100) Subject: Consistently allocate device and iface variables on the heap. X-Git-Tag: release-1.0.10~96 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=b069da90d67b49dce041f513a3855b8da3d82f80;hp=b069da90d67b49dce041f513a3855b8da3d82f80 Consistently allocate device and iface variables on the heap. This fixes a segfault when no Device has been specified and tinc exits, and it would try to free() a static string. Thanks to Borg for spottin. ---