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

Diff for /mandoc/tag.c between version 1.28 and 1.29

version 1.28, 2020/03/13 15:32:29 version 1.29, 2020/03/13 16:16:58
Line 59  tag_free(void)
Line 59  tag_free(void)
         struct tag_entry        *entry;          struct tag_entry        *entry;
         unsigned int             slot;          unsigned int             slot;
   
           if (tag_data.info.free == NULL)
                   return;
         entry = ohash_first(&tag_data, &slot);          entry = ohash_first(&tag_data, &slot);
         while (entry != NULL) {          while (entry != NULL) {
                 free(entry->nodes);                  free(entry->nodes);
Line 66  tag_free(void)
Line 68  tag_free(void)
                 entry = ohash_next(&tag_data, &slot);                  entry = ohash_next(&tag_data, &slot);
         }          }
         ohash_delete(&tag_data);          ohash_delete(&tag_data);
           tag_data.info.free = NULL;
 }  }
   
 /*  /*

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

CVSweb