Searched refs:FreeAndNull (Results 1 – 23 of 23) sorted by relevance
93 FreeAndNull(TermType); in _nc_get_type()170 FreeAndNull(SourceName); in _nc_comp_error_leaks()171 FreeAndNull(TermType); in _nc_comp_error_leaks()
201 FreeAndNull(my_blob); in free_cache()202 FreeAndNull(my_list); in free_cache()435 FreeAndNull(my_blob); in _nc_first_db()450 FreeAndNull(my_blob); in _nc_db_iterator_leaks()452 FreeAndNull(my_list); in _nc_db_iterator_leaks()
203 FreeAndNull(result); in next_char()204 FreeAndNull(pushname); in next_char()1059 FreeAndNull(pushname); in _nc_comp_scan_leaks()1062 FreeAndNull(tok_buf); in _nc_comp_scan_leaks()
65 FreeAndNull(FirstName); in _nc_first_name()
135 FreeAndNull(FIX_SGR0); in NCURSES_SP_NAME()424 FreeAndNull(FIX_SGR0); in _nc_tgetent_leak()
138 FreeAndNull(p->sp); in _nc_leaks_tinfo()
163 FreeAndNull(_nc_globals.home_terminfo); in NCURSES_SP_NAME()
68 FreeAndNull(stringbuf); in _nc_init_entry()410 FreeAndNull(stringbuf); in _nc_alloc_entry_leaks()
79 FreeAndNull(buffer); in _nc_tic_expand()
650 FreeAndNull(TPS(out_buff)); in _nc_resolve_uses2()651 FreeAndNull(TPS(fmt_buff)); in _nc_resolve_uses2()
193 FreeAndNull(delete_tparm); in _nc_free_tparm()199 FreeAndNull(TPS(out_buff)); in _nc_free_tparm()203 FreeAndNull(TPS(fmt_buff)); in _nc_free_tparm()
1055 FreeAndNull(my_string); in _nc_captoinfo_leaks()
482 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()
429 FreeAndNull(SP_PARM->_color_pairs); in NCURSES_SP_NAME()
81 #define FreeAndNull(p) do { free(p); p = 0; } while (0) macro
1559 #define FreeAndNull(p) do { free(p); p = 0; } while (0) macro
299 FreeAndNull(oldhash(SP_PARM)); in NCURSES_SP_NAME()322 FreeAndNull(oldhash(SP_PARM)); in NCURSES_SP_NAME()323 FreeAndNull(newhash(SP_PARM)); in NCURSES_SP_NAME()
134 FreeAndNull(mybuf[c]); in _nc_visbuf2n()
1196 FreeAndNull(CON.save_screen); in read_screen_data()
4952 + add missing braces around FreeAndNull in two places.