e688175
To: vim-dev@vim.org
e688175
Subject: Patch 7.2.037
e688175
Fcc: outbox
e688175
From: Bram Moolenaar <Bram@moolenaar.net>
e688175
Mime-Version: 1.0
e688175
Content-Type: text/plain; charset=ISO-8859-1
e688175
Content-Transfer-Encoding: 8bit
e688175
------------
e688175
e688175
Patch 7.2.037
e688175
Problem:    Double free with GTK 1 and compiled with EXITFREE.
e688175
Solution:   Don't close display. (Dominique Pelle)
e688175
Files:	    src/os_unix.c
e688175
e688175
e688175
*** ../vim-7.2.036/src/os_unix.c	Wed Nov 12 13:07:48 2008
e688175
--- src/os_unix.c	Wed Nov 12 11:55:33 2008
e688175
***************
e688175
*** 2936,2942 ****
e688175
      }
e688175
  #  endif
e688175
  # endif
e688175
! # ifdef FEAT_X11
e688175
      if (x11_display != NULL
e688175
  #  ifdef FEAT_XCLIPBOARD
e688175
  	    && x11_display != xterm_dpy
e688175
--- 2936,2943 ----
e688175
      }
e688175
  #  endif
e688175
  # endif
e688175
!     /* Don't close the display for GTK 1, it is done in exit(). */
e688175
! # if defined(FEAT_X11) && (!defined(FEAT_GUI_GTK) || defined(HAVE_GTK2))
e688175
      if (x11_display != NULL
e688175
  #  ifdef FEAT_XCLIPBOARD
e688175
  	    && x11_display != xterm_dpy
e688175
*** ../vim-7.2.036/src/version.c	Wed Nov 12 13:35:31 2008
e688175
--- src/version.c	Wed Nov 12 14:08:56 2008
e688175
***************
e688175
*** 678,679 ****
e688175
--- 678,681 ----
e688175
  {   /* Add new patch number below this line */
e688175
+ /**/
e688175
+     37,
e688175
  /**/
e688175
e688175
-- 
e688175
hundred-and-one symptoms of being an internet addict:
e688175
240. You think Webster's Dictionary is a directory of WEB sites.
e688175
e688175
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
e688175
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
e688175
\\\        download, build and distribute -- http://www.A-A-P.org        ///
e688175
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///