Home GnuPG
Diffusion GPGME 21283dfd1be1

tests: Fix cleaning up at the end of the test

Description

tests: Fix cleaning up at the end of the test

* tests/gpg/t-import.c (main): Unref key and release context.

This fixes leaks found with -fsanitize=address.

Details

Provenance
ikloeckerAuthored on Feb 10 2023, 10:00 AM
Parents
rM41dc3bd22a3e: core: Allow finalization of signature verification of unencrypted data
Branches
Unknown
Tags
Unknown