diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-14 13:48:51 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-14 13:51:55 +0100 |
commit | 0eafbf0701d9d3676d6373e35801591b115943b0 (patch) | |
tree | a5f91e59afc6ca2ec27fc5c55779d004126cdfe0 /apps/mudraw.c | |
parent | dcd46be075472a8899429416f9484d246929600b (diff) | |
download | mupdf-0eafbf0701d9d3676d6373e35801591b115943b0.tar.xz |
Fix memory leaks in style sheet handling of the new text device.
Diffstat (limited to 'apps/mudraw.c')
-rw-r--r-- | apps/mudraw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c index 29517873..a0abc022 100644 --- a/apps/mudraw.c +++ b/apps/mudraw.c @@ -530,6 +530,9 @@ int main(int argc, char **argv) printf("</style>\n"); } + if (showtext) + fz_free_text_sheet(ctx, sheet); + if (showtime) { printf("total %dms / %d pages for an average of %dms\n", |