aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgscm/scheme.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-11-15 10:07:57 +0000
committerJustus Winter <[email protected]>2016-11-15 10:10:56 +0000
commit93cc322ac06d3045a24aece90091f7f80f3dacb8 (patch)
tree9fd2f23dc8fc12b162020577daddfb294e334e36 /tests/gpgscm/scheme.c
parentg10: Fix memory leak. (diff)
downloadgnupg-93cc322ac06d3045a24aece90091f7f80f3dacb8.tar.gz
gnupg-93cc322ac06d3045a24aece90091f7f80f3dacb8.zip
gpgscm: Recover more cells.
* tests/gpgscm/scheme.c (_s_return): Recover the cell holding the opcode. Fixes-commit: e0cbd3389e2dd6ec19ee3a4c7bad81fa0f1907f5 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/gpgscm/scheme.c')
-rw-r--r--tests/gpgscm/scheme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c
index ce31f8d30..3ed1a00ca 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);