Home GnuPG
Diffusion GPGME 98a75a16ccdf

json: Fix memleak in native msging repl

Description

json: Fix memleak in native msging repl

* src/gpgme-json.c (native_messaging_repl): Free request and
response after each loop.

If we only accept once request we should not loop. If we loop
we should do it properly.

Details

Provenance
aheineckeAuthored on Jul 18 2018, 1:15 PM
Parents
rM6d7b4382c3e1: json: Ensure that native msging request is string
Branches
Unknown
Tags
Unknown