]> git.ipfire.org Git - thirdparty/strongswan.git/commit
Change order of destroy/get_ref function calls
authorThomas Egerer <thomas.egerer@secunet.com>
Fri, 4 Nov 2011 08:24:51 +0000 (09:24 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 4 Nov 2011 10:11:17 +0000 (11:11 +0100)
commitdbd2169569d195954e5854147e34bb60520cdffc
tree52c7a9caf5b247b40ae33f7bbaa9098452693cd8
parentc230885a07fb87a5a5c34e01204ac25ae319a316
Change order of destroy/get_ref function calls

Since DESTROY_IF might destroy the peer_cfg, a get_ref on a freed object
is subject to fail.
src/libcharon/sa/ike_sa.c