diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2008-07-19 16:41:10 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2008-07-19 16:41:10 +0200 |
commit | 5d1696ccf1f1788bd7bd2970344ef6b078448821 (patch) | |
tree | f6e73e713d7aba137d4a35d9fe925a89f1eedfbe | |
parent | 5fa7d15f7cc2350011c29c5be83879c41a138d5b (diff) | |
download | mupdf-5d1696ccf1f1788bd7bd2970344ef6b078448821.tar.xz |
Removed incorrectly dropped objects in parsing of shading functions.
-rw-r--r-- | mupdf/pdf_shade.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mupdf/pdf_shade.c b/mupdf/pdf_shade.c index b5d8fbef..7173c918 100644 --- a/mupdf/pdf_shade.c +++ b/mupdf/pdf_shade.c @@ -61,12 +61,9 @@ pdf_loadcomponentshadefunc(fz_shade *shade, pdf_xref *xref, fz_obj *shading, fz_ error = pdf_loadfunction(&func[i], xref, obj); if (error) { - fz_dropobj(obj); error = fz_rethrow(error, "unable to evaluate shading function"); goto cleanup; } - - fz_dropobj(obj); } for (i = 0; i < 256; ++i) |