Searched refs:FreeAndNull (Results 1 – 21 of 21) sorted by relevance
86 FreeAndNull(TermType); in _nc_get_type()165 FreeAndNull(SourceName); in _nc_comp_error_leaks()166 FreeAndNull(TermType); in _nc_comp_error_leaks()
201 FreeAndNull(my_blob); in free_cache()202 FreeAndNull(my_list); in free_cache()424 FreeAndNull(my_blob); in _nc_first_db()439 FreeAndNull(my_blob); in _nc_db_iterator_leaks()441 FreeAndNull(my_list); in _nc_db_iterator_leaks()
172 FreeAndNull(result); in next_char()173 FreeAndNull(pushname); in next_char()1019 FreeAndNull(pushname); in _nc_comp_scan_leaks()1022 FreeAndNull(tok_buf); in _nc_comp_scan_leaks()
65 FreeAndNull(FirstName); in _nc_first_name()
68 FreeAndNull(stringbuf); in _nc_init_entry()298 FreeAndNull(stringbuf); in _nc_alloc_entry_leaks()
135 FreeAndNull(FIX_SGR0); in NCURSES_SP_NAME()424 FreeAndNull(FIX_SGR0); in _nc_tgetent_leak()
159 FreeAndNull(_nc_globals.home_terminfo); in NCURSES_SP_NAME()
187 FreeAndNull(delete_tparm); in _nc_free_tparm()192 FreeAndNull(TPS(out_buff)); in _nc_free_tparm()196 FreeAndNull(TPS(fmt_buff)); in _nc_free_tparm()
79 FreeAndNull(buffer); in _nc_tic_expand()
1047 FreeAndNull(my_string); in _nc_captoinfo_leaks()
493 FreeAndNull(WINCONSOLE.save_screen); in read_screen_data()
43 FreeAndNull(data[length].text); in cleanup_lines()230 FreeAndNull(win->_line[row].text); in wresize()234 FreeAndNull(win->_line[row].text); in wresize()239 FreeAndNull(win->_line); in wresize()
59 FreeAndNull(SP_PARM->_oldnum_list); in NCURSES_EXPORT()
419 FreeAndNull(SP_PARM->oldhash); in NCURSES_SP_NAME()422 FreeAndNull(SP_PARM->newhash); in NCURSES_SP_NAME()
431 FreeAndNull(SP_PARM->_color_pairs); in NCURSES_SP_NAME()
81 #define FreeAndNull(p) do { free(p); p = 0; } while (0) macro
1728 #define FreeAndNull(p) do { free(p); p = 0; } while (0) macro
132 FreeAndNull(mybuf[c]); in _nc_visbuf2n()
299 FreeAndNull(oldhash(SP_PARM)); in NCURSES_SP_NAME()
1186 FreeAndNull(CON.save_screen); in read_screen_data()
3787 + add missing braces around FreeAndNull in two places.