MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ch_end

Function ch_end

extern/editline/src/chared.c:588–606  ·  view source on GitHub ↗

ch_end(): * Free the data structures used by the editor */

Source from the content-addressed store, hash-verified

586 * Free the data structures used by the editor
587 */
588protected void
589ch_end(EditLine *el)
590{
591 el_free(el->el_line.buffer);
592 el->el_line.buffer = NULL;
593 el->el_line.limit = NULL;
594 el_free(el->el_chared.c_undo.buf);
595 el->el_chared.c_undo.buf = NULL;
596 el_free(el->el_chared.c_redo.buf);
597 el->el_chared.c_redo.buf = NULL;
598 el->el_chared.c_redo.pos = NULL;
599 el->el_chared.c_redo.lim = NULL;
600 el->el_chared.c_redo.cmd = ED_UNASSIGNED;
601 el_free(el->el_chared.c_kill.buf);
602 el->el_chared.c_kill.buf = NULL;
603 ch_reset(el, 1);
604 el_free(el->el_chared.c_macro.macro);
605 el->el_chared.c_macro.macro = NULL;
606}
607
608
609/* el_insertstr():

Callers 1

el_endFunction · 0.85

Calls 1

ch_resetFunction · 0.85

Tested by

no test coverage detected