summaryrefslogtreecommitdiff
path: root/print/dviselect/files/patch-lib_tfm.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/dviselect/files/patch-lib_tfm.c')
-rw-r--r--print/dviselect/files/patch-lib_tfm.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/print/dviselect/files/patch-lib_tfm.c b/print/dviselect/files/patch-lib_tfm.c
new file mode 100644
index 000000000000..72623335046a
--- /dev/null
+++ b/print/dviselect/files/patch-lib_tfm.c
@@ -0,0 +1,23 @@
+--- lib/tfm.c~ Wed Nov 15 13:20:02 1989
++++ lib/tfm.c Wed Dec 13 22:56:44 2006
+@@ -63,16 +63,16 @@
+
+ bad:
+ if (t->t_ci != NULL) {
+- free((char *) t->t_ci); (char *) t->t_ci = 0;
++ free((char *) t->t_ci); t->t_ci = 0;
+ }
+ if (t->t_width != NULL) {
+- free((char *) t->t_width); (char *) t->t_width = 0;
++ free((char *) t->t_width); t->t_width = 0;
+ }
+ if (t->t_height != NULL) {
+- free((char *) t->t_height); (char *) t->t_height = 0;
++ free((char *) t->t_height); t->t_height = 0;
+ }
+ if (t->t_depth != NULL) {
+- free((char *) t->t_depth); (char *) t->t_depth = 0;
++ free((char *) t->t_depth); t->t_depth = 0;
+ }
+ return (-1);
+ }