headerLoad() wasn't initializing the usage count
CVS patchset: 2627 CVS date: 1998/12/30 21:39:51
This commit is contained in:
parent
42edfe1749
commit
fdef7d4574
|
@ -424,6 +424,7 @@ Header headerLoad(void *pv)
|
|||
h->indexAlloced = il;
|
||||
h->indexUsed = il;
|
||||
h->index = malloc(il * sizeof(struct indexEntry));
|
||||
h->usageCount = 1;
|
||||
|
||||
/* This assumes you only headerLoad() something you headerUnload()-ed */
|
||||
h->sorted = 1;
|
||||
|
|
Loading…
Reference in New Issue