sptps_stop(): clear pointers after free to avoid double free.
authorSven-Haegar Koch <haegar@sdinet.de>
Sat, 14 Apr 2012 00:29:32 +0000 (02:29 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 14 Apr 2012 23:10:49 +0000 (01:10 +0200)
commita5bb6d40fb517aa175510ec179091e4f9ffaf6f6
tree86d8e740151bb7e71d060c66923daaf6e6d5ca36
parent1d9dacb1f26971e19463b5501c2410c57f780ecb
sptps_stop(): clear pointers after free to avoid double free.

sptps_stop() may get called twice on some failed connection setups.
src/sptps.c