Changeset bb68433 in mainline for generic/src/adt/hash_table.c


Ignore:
Timestamp:
2006-02-08T22:58:06Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e4e532
Parents:
85dc2e7
Message:

Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/adt/hash_table.c

    r85dc2e7 rbb68433  
    5252        ASSERT(max_keys > 0);
    5353       
    54         h->entry = malloc(m * sizeof(link_t *));
     54        h->entry = malloc(m * sizeof(link_t *), 0);
    5555        if (!h->entry) {
    5656                panic("cannot allocate memory for hash table\n");
Note: See TracChangeset for help on using the changeset viewer.