diff options
Diffstat (limited to 'x11/XFree86-4-libraries/files/patch-lcPrTxt.c')
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-lcPrTxt.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-lcPrTxt.c b/x11/XFree86-4-libraries/files/patch-lcPrTxt.c new file mode 100644 index 000000000000..d54dd94d639c --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-lcPrTxt.c @@ -0,0 +1,10 @@ +--- lib/X11/lcPrTxt.c.orig Mon Jun 3 15:36:00 2002 ++++ lib/X11/lcPrTxt.c Mon Apr 21 23:38:30 2003 +@@ -154,7 +154,6 @@ + buf_len = text_prop->nitems * 6 + 1; + else + buf_len = text_prop->nitems * XLC_PUBLIC(lcd, mb_cur_max) + 1; +- buf = (XPointer) Xmalloc(buf_len); + } + buf = (XPointer) Xmalloc(buf_len); + if (buf == NULL) |