summaryrefslogtreecommitdiff
path: root/source/svg
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-10-11 19:06:22 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-10-11 19:06:22 +0800
commit28d9c75ed780414a7ae71cab88cc86536444b255 (patch)
tree52d2d43bc498b30b003bd658d2781d49faf32d15 /source/svg
parent34b5ec0c2ae66511adb65d246287132f11abb3d4 (diff)
downloadmupdf-28d9c75ed780414a7ae71cab88cc86536444b255.tar.xz
Free document in fz_drop_document(), not in subclassing documents.
Diffstat (limited to 'source/svg')
-rw-r--r--source/svg/svg-doc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/svg/svg-doc.c b/source/svg/svg-doc.c
index bd0b2dd1..fa2b3d19 100644
--- a/source/svg/svg-doc.c
+++ b/source/svg/svg-doc.c
@@ -14,7 +14,6 @@ svg_drop_document(fz_context *ctx, fz_document *doc_)
svg_document *doc = (svg_document*)doc_;
fz_drop_tree(ctx, doc->idmap, NULL);
fz_drop_xml(ctx, doc->root);
- fz_free(ctx, doc);
}
static int