home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.2.357 < prev    next >
Encoding:
Internet Message Format  |  2004-03-14  |  2.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.357
  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 6.2.357 (after 6.2.321)
  11. Problem:    Memory leak when resizing the Vim window.
  12. Solution:   Free the LineWraps array.
  13. Files:        src/screen.c
  14.  
  15.  
  16. *** ../vim-6.2.356/src/screen.c    Sat Mar  6 21:13:14 2004
  17. --- src/screen.c    Mon Mar 15 10:38:09 2004
  18. ***************
  19. *** 6574,6579 ****
  20. --- 6574,6580 ----
  21.   #endif
  22.       vim_free(ScreenAttrs);
  23.       vim_free(LineOffset);
  24. +     vim_free(LineWraps);
  25.       ScreenLines = new_ScreenLines;
  26.   #ifdef FEAT_MBYTE
  27.       ScreenLinesUC = new_ScreenLinesUC;
  28. *** ../vim-6.2.356/src/version.c    Sun Mar 14 20:16:56 2004
  29. --- src/version.c    Mon Mar 15 12:25:53 2004
  30. ***************
  31. *** 639,640 ****
  32. --- 639,642 ----
  33.   {   /* Add new patch number below this line */
  34. + /**/
  35. +     357,
  36.   /**/
  37.  
  38. -- 
  39. Now it is such a bizarrely improbable coincidence that anything as
  40. mind-bogglingly useful as the Babel fish could have evolved purely by chance
  41. that some thinkers have chosen to see it as a final and clinching proof of the
  42. NON-existence of God.
  43. The argument goes something like this: 'I refuse to prove that I exist,' says
  44. God, 'for proof denies faith, and without faith I am nothing.'
  45. 'But,' says Man, 'the Babel fish is a dead giveaway, isn't it?  It could not
  46. have evolved by chance.  It proves you exist, and so therefore, by your own
  47. arguments, you don't.  QED.'
  48. 'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a
  49. puff of logic.
  50. 'Oh, that was easy,' says Man, and for an encore goes on to prove that black
  51. is white and gets himself killed on the next pedestrian crossing.
  52.         -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
  53.  
  54.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  55. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  56. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  57.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  58.