[server] fixed potential double-free condition found by Coverity
authorMichael Rash <mbr@cipherdyne.org>
Mon, 13 May 2013 00:54:44 +0000 (20:54 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Mon, 13 May 2013 00:54:44 +0000 (20:54 -0400)
commit1caf6035d9e475f3c98ee97e9c28996c7f5e54d6
tree416ba7415b972a35accb92dfcf954a96a90afc04
parentc555a35489b830b20f2270b91bace1e42d455e3e
[server] fixed potential double-free condition found by Coverity

Within the access loop always call fko_destroy() right up front whenever
ctx != NULL to ensure a clean slate each time through the loop regardless of
what state may have been reached the previous time through the loop.
server/incoming_spa.c