summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfmx/src/pdfnames.c3
-rw-r--r--Build/source/texk/dvipdfmx/src/spc_pdfm.c7
2 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/dvipdfmx/src/pdfnames.c b/Build/source/texk/dvipdfmx/src/pdfnames.c
index a935593af53..1d3b6116e3c 100644
--- a/Build/source/texk/dvipdfmx/src/pdfnames.c
+++ b/Build/source/texk/dvipdfmx/src/pdfnames.c
@@ -1,4 +1,4 @@
-/* $Header: /home/cvsroot/dvipdfmx/src/pdfnames.c,v 1.2 2008/06/07 09:54:38 chofchof Exp $
+/* $Header: /home/cvsroot/dvipdfmx/src/pdfnames.c,v 1.3 2008/06/18 15:11:45 matthias Exp $
This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
@@ -177,6 +177,7 @@ pdf_names_add_object (struct ht_table *names,
if (pdf_obj_get_verbose()) {
WARN("Object reference with key \"%s\" is in use.", printable_key(key, keylen));
}
+ pdf_release_obj(object);
return -1;
} else {
value->object = object;
diff --git a/Build/source/texk/dvipdfmx/src/spc_pdfm.c b/Build/source/texk/dvipdfmx/src/spc_pdfm.c
index 889cad2da1b..a1c6bd03918 100644
--- a/Build/source/texk/dvipdfmx/src/spc_pdfm.c
+++ b/Build/source/texk/dvipdfmx/src/spc_pdfm.c
@@ -1,4 +1,4 @@
-/* $Header: /home/cvsroot/dvipdfmx/src/spc_pdfm.c,v 1.40 2008/06/07 09:54:38 chofchof Exp $
+/* $Header: /home/cvsroot/dvipdfmx/src/spc_pdfm.c,v 1.43 2008/06/20 23:18:45 chofchof Exp $
This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
@@ -915,8 +915,8 @@ spc_handler_pdfm_bead (struct spc_env *spe, struct spc_arg *args)
} else {
rect.llx = cp.x;
rect.lly = cp.y - spe->mag * ti.depth;
- rect.urx = rect.llx + spe->mag * ti.width;
- rect.ury = rect.lly + spe->mag * ti.height;
+ rect.urx = cp.x + spe->mag * ti.width;
+ rect.ury = cp.y + spe->mag * ti.height;
}
skip_white(&args->curptr, args->endptr);
@@ -1061,7 +1061,6 @@ spc_handler_pdfm_dest (struct spc_env *spe, struct spc_arg *args)
pdf_string_value (name),
pdf_string_length(name),
array);
- if (error) pdf_release_obj(array);
pdf_release_obj(name);
return 0;