Home GnuPG
Diffusion GnuPG 6ee3eb420207

homedir: Avoid memory leaks on errors

Description

homedir: Avoid memory leaks on errors

* common/homedir.c (unix_rootdir): Free allocated memory on error path
  • GnuPG-bug-id: T5393
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Nov 23 2021, 9:38 AM
gniibeCommitted on Nov 24 2021, 2:50 AM
Parents
rG940af3f05231: dirmngr: Avoid memory leaks on errors
Branches
Unknown
Tags
Unknown
Tasks
T5393: gnupg coverity static analysis reports