summaryrefslogtreecommitdiff
path: root/gfx/pdftoc.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-30 17:49:43 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-30 17:52:05 -0300
commitfed91b8b2e8d4de93d001025fa83f6b8d7c51e49 (patch)
treee8483b969126f961923e264d1bcff2b623756de2 /gfx/pdftoc.c
parent4003ac990ea31e7192f4679a6902cdf568eb58eb (diff)
downloadeeshow-fed91b8b2e8d4de93d001025fa83f6b8d7c51e49.tar.gz
eeshow-fed91b8b2e8d4de93d001025fa83f6b8d7c51e49.tar.bz2
eeshow-fed91b8b2e8d4de93d001025fa83f6b8d7c51e49.zip
fix a few trivial memory leaks; eeshow ... -- pdf now passes
Diffstat (limited to 'gfx/pdftoc.c')
-rw-r--r--gfx/pdftoc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/pdftoc.c b/gfx/pdftoc.c
index 1e6242a..916ad35 100644
--- a/gfx/pdftoc.c
+++ b/gfx/pdftoc.c
@@ -346,5 +346,6 @@ void pdftoc_end(struct pdftoc *ctx)
ctx->titles = next;
}
free(ctx->buf);
+ free(ctx->objs);
free(ctx);
}