[Pkg-gnupg-commit] [gnupg2] 247/292: gpgscm: Recover more cells.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 93cc322ac06d3045a24aece90091f7f80f3dacb8
Author: Justus Winter <justus at g10code.com>
Date:   Tue Nov 15 11:07:57 2016 +0100

    gpgscm: Recover more cells.
    
    * tests/gpgscm/scheme.c (_s_return): Recover the cell holding the
    opcode.
    
    Fixes-commit: e0cbd3389e2dd6ec19ee3a4c7bad81fa0f1907f5
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 tests/gpgscm/scheme.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c
index ce31f8d..3ed1a00 100644
--- a/tests/gpgscm/scheme.c
+++ b/tests/gpgscm/scheme.c
@@ -2643,6 +2643,7 @@ static pointer _s_return(scheme *sc, pointer a, int enable_gc) {
     return sc->NIL;
   free_cons(sc, dump, &op, &dump);
   sc->op = ivalue(op);
+  free_cell(sc, op);
   free_cons(sc, dump, &sc->args, &dump);
   free_cons(sc, dump, &sc->envir, &dump);
   free_cons(sc, dump, &sc->code, &sc->dump);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list