[BACK]Return to term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/term.c between version 1.283 and 1.284

version 1.283, 2021/08/10 12:55:04 version 1.284, 2021/10/04 18:56:31
Line 1 
Line 1 
 /* $Id$ */  /* $Id$ */
 /*  /*
    * Copyright (c) 2010-2021 Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010-2020 Ingo Schwarze <schwarze@openbsd.org>  
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 58  term_setcol(struct termp *p, size_t maxtcol)
Line 58  term_setcol(struct termp *p, size_t maxtcol)
 void  void
 term_free(struct termp *p)  term_free(struct termp *p)
 {  {
           term_tab_free();
         for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++)          for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++)
                 free(p->tcol->buf);                  free(p->tcol->buf);
         free(p->tcols);          free(p->tcols);

Legend:
Removed from v.1.283  
changed lines
  Added in v.1.284

CVSweb