fix a memory leak reported by Qualys Security.
authortedu <tedu@openbsd.org>
Wed, 14 Oct 2015 21:12:10 +0000 (21:12 +0000)
committertedu <tedu@openbsd.org>
Wed, 14 Oct 2015 21:12:10 +0000 (21:12 +0000)
commit32b457e2f5c9818209be85ffef4ccf3a231cad78
treed2b1aaabfb6af7c373ec9e49393b0b104db68c7b
parent3037ac8338edb50e47a8e176930e092f23e2689c
fix a memory leak reported by Qualys Security.
move the bndec variable in tighter since it's not used elsewhere in the
loop, then always free it after use.
ok bcook miod
lib/libcrypto/objects/obj_dat.c
lib/libssl/src/crypto/objects/obj_dat.c