json: Fix double ctx alloc
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 25 May 2018 12:50:59 +0000 (14:50 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 25 May 2018 12:50:59 +0000 (14:50 +0200)
commit897522527d493307d15809a41496f8b76ec4edfe
treeb973accd572bde4bcf37bd45e6aeb52949f322de
parent10683b1a913c39238c9871f5aa607334f32467f7
json: Fix double ctx alloc

* src/gpgme-json.c (op_keylist): Only get one ctx.
src/gpgme-json.c