Ignore:
Timestamp:
Sep 4, 2013, 11:58:38 AM (9 years ago)
Author:
meunier
Message:

More memory cleaning for valgrind (generic_llsc_global_table, vci_block_device_tsar)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/generic_llsc_global_table/include/generic_llsc_global_table.h

    r512 r514  
    319319    {
    320320        // making all slots available by reseting all valid bits
    321         std::memset(r_val,  0, sizeof((*r_val) * nb_slots));
    322         std::memset(r_addr, 0, sizeof((*r_addr) * nb_slots));
    323         std::memset(r_key,  0, sizeof((*r_key) * nb_slots));
     321        std::memset(r_val,  0, sizeof(*r_val) * nb_slots);
     322        std::memset(r_addr, 0, sizeof(*r_addr) * nb_slots);
     323        std::memset(r_key,  0, sizeof(*r_key) * nb_slots);
    324324
    325325        // init registers
Note: See TracChangeset for help on using the changeset viewer.