]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
gssd: avoid double-free upon write failure
authorJim Meyering <jim@meyering.net>
Thu, 5 Jan 2012 18:37:04 +0000 (13:37 -0500)
committerSteve Dickson <steved@redhat.com>
Thu, 5 Jan 2012 20:42:40 +0000 (15:42 -0500)
Free just calloc'd enc_key.data from one place, unconditionally,
after calling write_lucid_keyblock, rather than from three places.

Coverity spotted the possible double free.

Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found