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

Diff for /mandoc/tbl.c between version 1.37 and 1.38

version 1.37, 2015/01/30 02:09:04 version 1.38, 2015/01/30 04:11:50
Line 108  tbl_free(struct tbl_node *tbl)
Line 108  tbl_free(struct tbl_node *tbl)
         struct tbl_cell *cp;          struct tbl_cell *cp;
         struct tbl_span *sp;          struct tbl_span *sp;
         struct tbl_dat  *dp;          struct tbl_dat  *dp;
         struct tbl_head *hp;  
   
         while ((rp = tbl->first_row) != NULL) {          while ((rp = tbl->first_row) != NULL) {
                 tbl->first_row = rp->next;                  tbl->first_row = rp->next;
Line 129  tbl_free(struct tbl_node *tbl)
Line 128  tbl_free(struct tbl_node *tbl)
                         free(dp);                          free(dp);
                 }                  }
                 free(sp);                  free(sp);
         }  
   
         while ((hp = tbl->first_head) != NULL) {  
                 tbl->first_head = hp->next;  
                 free(hp);  
         }          }
   
         free(tbl);          free(tbl);

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

CVSweb