CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2025/06/07 03:32:35

Modified files:
        lib/libcrypto/pem: pvkfmt.c 

Log message:
do_PVK_body: Unconditionally free enctmp

enctmp is only allocated if saltlen > 0, so there is no harm in checking
for that, but it's also pointless. Unconfuses smatch who thinks there
might be a memory leak:

pem/pvkfmt.c:808 do_PVK_body() warn: possible memory leak of 'enctmp'

found by jsg

Reply via email to