[Xxvt-commit] CVS: xxvt init.c,1.24,1.25
Status: Pre-Alpha
Brought to you by:
nlevitt
|
From: Pierre-Paul L. <pp...@us...> - 2002-03-30 17:18:05
|
Update of /cvsroot/xxvt/xxvt
In directory usw-pr-cvs1:/tmp/cvs-serv32144
Modified Files:
init.c
Log Message:
since we don't make any further explicit reference to the cursor we
allocated, we can XFreeCursor the ressource right after.
Index: init.c
===================================================================
RCS file: /cvsroot/xxvt/xxvt/init.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** init.c 25 Mar 2002 02:05:33 -0000 1.24
--- init.c 30 Mar 2002 17:18:00 -0000 1.25
***************
*** 254,257 ****
--- 254,258 ----
cursor = XCreateFontCursor(xinfo->display, XC_xterm);
XDefineCursor(xinfo->display, xinfo->window, cursor);
+ XFreeCursor(xinfo->display, cursor);
XSetWMNormalHints(xinfo->display, xinfo->window, xinfo->sizehints);
|