Home GnuPG

gpgscm: Fix memory leaks.

Description

gpgscm: Fix memory leaks.

* tests/gpgscm/ffi-private.h (ffi_schemify_name): Fix prototype.
(ffi_define_function_name): Free schemified name.
(ffi_define_function): Likewise.
(ffi_define_constant): Likewise.
(ffi_define_variable_pointer): Likewise.
* tests/gpgscm/ffi.c (do_wait_processes): Free arrays.
(ffi_schemify_name): Fix type.
* tests/gpgscm/main.c (main): Free 'sc'.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jun 28 2016, 6:13 PM
Parents
rE9368fd55602a: gpgscm: Free file names.
Branches
Unknown
Tags
Unknown