]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.160
- new
[packages/vim.git] / 7.2.160
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.160
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.2.160
11 Problem:    Search pattern not freed on exit when 'rightleft' set.
12 Solution:   Free mr_pattern_alloced.
13 Files:      src/search.c
14
15
16 *** ../vim-7.2.159/src/search.c Wed Apr 22 16:42:24 2009
17 --- src/search.c        Wed Apr 22 12:26:19 2009
18 ***************
19 *** 345,350 ****
20 --- 345,359 ----
21   {
22       vim_free(spats[0].pat);
23       vim_free(spats[1].pat);
24
25 + # ifdef FEAT_RIGHTLEFT
26 +     if (mr_pattern_alloced)
27 +     {
28 +         vim_free(mr_pattern);
29 +         mr_pattern_alloced = FALSE;
30 +         mr_pattern = NULL;
31 +     }
32 + # endif
33   }
34   #endif
35   
36 *** ../vim-7.2.159/src/version.c        Wed Apr 22 17:50:53 2009
37 --- src/version.c       Wed Apr 22 18:42:25 2009
38 ***************
39 *** 678,679 ****
40 --- 678,681 ----
41   {   /* Add new patch number below this line */
42 + /**/
43 +     160,
44   /**/
45
46 -- 
47     f y cn rd ths thn y cn hv grt jb n cmptr prgrmmng
48
49  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
50 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\        download, build and distribute -- http://www.A-A-P.org        ///
52  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.037963 seconds and 3 git commands to generate.