Fix a memory leak in libX11.
Obtained from: RedHat
This commit is contained in:
parent
fbb59293f1
commit
e5aa7d1091
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79667
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= libraries
|
||||
PORTVERSION= 4.3.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
|
||||
${MASTER_SITE_LOCAL:S/$/:local/}
|
||||
|
10
x11/XFree86-4-libraries/files/patch-lcPrTxt.c
Normal file
10
x11/XFree86-4-libraries/files/patch-lcPrTxt.c
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user