Repositories » libk0
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

The check is unnecessary, because freelist() check for it.

Changeset 1a341b454e05

Parent c2df918de664

by Rup Palchowdhury

Changes to one file · Browse files at 1a341b454e05 Showing diff from parent c2df918de664 Diff from another changeset...

Change 1 of 1 Show Entire File khash.c Stacked
 
19
20
21
22
23
 
24
25
26
27
28
 
19
20
21
 
 
22
23
 
24
25
26
@@ -19,10 +19,8 @@
   void freehash(Hash *h, void (*freedata)(void*))  { - for (int i = 0; i < h->n; i++) { - if (h->tab[i] == NULL) continue; + for (int i = 0; i < h->n; i++)   freelist(h->tab[i], freedata); - }   free(h);  }