Ignore:
Timestamp:
Sep 3, 2013, 1:51:37 PM (11 years ago)
Author:
meunier
Message:

Tried to supress a few errors from valgrind; added corresponding delete and free in destructors (tsar_generic_xbar/top.cpp, tsar_xbar_cluster, vci_mem_cache)

File:
1 edited

Legend:

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

    r482 r512  
    319319    {
    320320        // making all slots available by reseting all valid bits
    321         std::memset(r_val, 0, sizeof(*r_val)*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));
    322324
    323325        // init registers
Note: See TracChangeset for help on using the changeset viewer.