Home GnuPG
Diffusion GnuPG 4dc4b025d6dd

common: Avoid double-free

Description

common: Avoid double-free

* common/name-value.c (do_nvc_parse): reset to null after ownership
change
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • GnuPG-bug-id: T5393

Details

Provenance
JakujeAuthored on Apr 12 2021, 7:29 PM
wernerCommitted on May 20 2021, 2:52 PM
Parents
rGb677e2ec989c: Assorted memory leak fixes on the error code paths.
Branches
Unknown
Tags
Unknown
Tasks
T5393: gnupg coverity static analysis reports