comparison src/misc2.c @ 644:e4fa26ce8769 v7.0187

updated for version 7.0187
author vimboss
date Wed, 25 Jan 2006 22:10:52 +0000
parents 732c7ae5743e
children 83a006f81bac
comparison
equal deleted inserted replaced
643:d3c978b4c7ce 644:e4fa26ce8769
950 void 950 void
951 free_all_mem() 951 free_all_mem()
952 { 952 {
953 buf_T *buf, *nextbuf; 953 buf_T *buf, *nextbuf;
954 static int entered = FALSE; 954 static int entered = FALSE;
955 win_T *win;
955 956
956 /* When we cause a crash here it is caught and Vim tries to exit cleanly. 957 /* When we cause a crash here it is caught and Vim tries to exit cleanly.
957 * Don't try freeing everything again. */ 958 * Don't try freeing everything again. */
958 if (entered) 959 if (entered)
959 return; 960 return;
1025 /* Clear cmdline history. */ 1026 /* Clear cmdline history. */
1026 p_hi = 0; 1027 p_hi = 0;
1027 init_history(); 1028 init_history();
1028 1029
1029 #ifdef FEAT_QUICKFIX 1030 #ifdef FEAT_QUICKFIX
1030 qf_free_all(); 1031 qf_free_all(NULL);
1032 /* Free all location lists */
1033 FOR_ALL_WINDOWS(win)
1034 qf_free_all(win);
1031 #endif 1035 #endif
1032 1036
1033 /* Close all script inputs. */ 1037 /* Close all script inputs. */
1034 close_all_scripts(); 1038 close_all_scripts();
1035 1039