Mercurial > vim
view src/proto/move.pro @ 13774:d43718b4e232 v8.0.1759
patch 8.0.1759: memory leak from duplicate options
commit https://github.com/vim/vim/commit/09d1d51df5d9b215e583b5bbe36df46afb3db35f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 24 20:23:56 2018 +0200
patch 8.0.1759: memory leak from duplicate options
Problem: Memory leak from duplicate options. (Yegappan Lakshmanan)
Solution: Don't set the default value twice.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 Apr 2018 20:30:08 +0200 |
parents | 21b0a39d13ed |
children | 10107703b9b2 |
line wrap: on
line source
/* move.c */ void update_topline_redraw(void); void update_topline(void); void update_curswant(void); void check_cursor_moved(win_T *wp); void changed_window_setting(void); void changed_window_setting_win(win_T *wp); void set_topline(win_T *wp, linenr_T lnum); void changed_cline_bef_curs(void); void changed_cline_bef_curs_win(win_T *wp); void changed_line_abv_curs(void); void changed_line_abv_curs_win(win_T *wp); void validate_botline(void); void invalidate_botline(void); void invalidate_botline_win(win_T *wp); void approximate_botline_win(win_T *wp); int cursor_valid(void); void validate_cursor(void); void validate_cline_row(void); void validate_virtcol(void); void validate_virtcol_win(win_T *wp); void validate_cursor_col(void); int win_col_off(win_T *wp); int curwin_col_off(void); int win_col_off2(win_T *wp); int curwin_col_off2(void); void curs_columns(int may_scroll); void scrolldown(long line_count, int byfold); void scrollup(long line_count, int byfold); void check_topfill(win_T *wp, int down); void scrolldown_clamp(void); void scrollup_clamp(void); void scroll_cursor_top(int min_scroll, int always); void set_empty_rows(win_T *wp, int used); void scroll_cursor_bot(int min_scroll, int set_topbot); void scroll_cursor_halfway(int atend); void cursor_correct(void); int onepage(int dir, long count); void halfpage(int flag, linenr_T Prenum); void do_check_cursorbind(void); /* vim: set ft=c : */