[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp XsharpSupport.c,1.7,1.8
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp XsharpSupport.c,1.7,1.8 |
Date: |
Mon, 07 Jul 2003 23:03:20 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/Xsharp
In directory subversions:/tmp/cvs-serv15930/Xsharp
Modified Files:
XsharpSupport.c
Log Message:
Don't destroy the "matched" pattern after creating the font, or it
will cause a segv when the font is destroyed.
Index: XsharpSupport.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Xsharp/XsharpSupport.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** XsharpSupport.c 8 Jul 2003 02:09:06 -0000 1.7
--- XsharpSupport.c 8 Jul 2003 03:03:17 -0000 1.8
***************
*** 226,234 ****
/* Create an Xft font based on the matched pattern */
! font = XftFontOpenPattern(dpy, matched);
! XftPatternDestroy(matched);
!
! /* Return the font to the caller */
! return font;
#else /* !USE_XFT_EXTENSION */
--- 226,230 ----
/* Create an Xft font based on the matched pattern */
! return XftFontOpenPattern(dpy, matched);
#else /* !USE_XFT_EXTENSION */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/Xsharp XsharpSupport.c,1.7,1.8,
Rhys Weatherley <address@hidden> <=