Karsten Hopp 4380b6
To: vim-dev@vim.org
Karsten Hopp 4380b6
Subject: Patch 7.2.116
Karsten Hopp 4380b6
Fcc: outbox
Karsten Hopp 4380b6
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 4380b6
Mime-Version: 1.0
Karsten Hopp 4380b6
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 4380b6
Content-Transfer-Encoding: 8bit
Karsten Hopp 4380b6
------------
Karsten Hopp 4380b6
Karsten Hopp 4380b6
Patch 7.2.116 
Karsten Hopp 4380b6
Problem:    Not all memory is freed when EXITFREE is defined. 
Karsten Hopp 4380b6
Solution:   Free allocated memory on exit. (Dominique Pelle) 
Karsten Hopp 4380b6
Files:      src/ex_docmd.c, src/gui_gtk_x11.c, src/misc2.c, src/search.c, 
Karsten Hopp 4380b6
            src/tag.c 
Karsten Hopp 4380b6
    
Karsten Hopp 4380b6
Karsten Hopp 4380b6
*** ../vim-7.2.115/src/tag.c	Tue Jan 13 17:27:18 2009
Karsten Hopp 4380b6
--- src/tag.c	Tue Feb 17 03:43:32 2009
Karsten Hopp 4380b6
***************
Karsten Hopp 4380b6
*** 2542,2547 ****
Karsten Hopp 4380b6
--- 2542,2556 ----
Karsten Hopp 4380b6
  {
Karsten Hopp 4380b6
      ga_clear_strings(&tag_fnames);
Karsten Hopp 4380b6
      do_tag(NULL, DT_FREE, 0, 0, 0);
Karsten Hopp 4380b6
+     tag_freematch();
Karsten Hopp 4380b6
+ 
Karsten Hopp 4380b6
+ # if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
Karsten Hopp 4380b6
+     if (ptag_entry.tagname)
Karsten Hopp 4380b6
+     {
Karsten Hopp 4380b6
+         vim_free(ptag_entry.tagname);
Karsten Hopp 4380b6
+         ptag_entry.tagname = NULL;
Karsten Hopp 4380b6
+     }
Karsten Hopp 4380b6
+ # endif
Karsten Hopp 4380b6
  }
Karsten Hopp 4380b6
  #endif
Karsten Hopp 4380b6
  
Karsten Hopp 4380b6
*** ../vim-7.2.115/src/version.c	Sat Feb 21 22:29:12 2009
Karsten Hopp 4380b6
--- src/version.c	Sat Feb 21 22:56:14 2009
Karsten Hopp 4380b6
***************
Karsten Hopp 4380b6
*** 678,679 ****
Karsten Hopp 4380b6
--- 678,681 ----
Karsten Hopp 4380b6
  {   /* Add new patch number below this line */
Karsten Hopp 4380b6
+ /**/
Karsten Hopp 4380b6
+     116,
Karsten Hopp 4380b6
  /**/
Karsten Hopp 4380b6
Karsten Hopp 4380b6
-- 
Karsten Hopp 4380b6
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 4380b6
106. When told to "go to your room" you inform your parents that you
Karsten Hopp 4380b6
     can't...because you were kicked out and banned.
Karsten Hopp 4380b6
Karsten Hopp 4380b6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 4380b6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 4380b6
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 4380b6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///