Ignore:
Timestamp:
Feb 6, 2017, 11:35:42 AM (7 years ago)
Author:
meunier
Message:
  • Fixed memory leaks
  • Fixed indentation in some files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_object.cc

    r52 r59  
    107107    string s;
    108108    gen_name(basename_,s);
    109     return strdup (s.c_str());
     109    const char * ret = strdup(s.c_str());
     110    sc_core::allocated_names.push_back(ret);
     111    return ret;
    110112}
    111113
Note: See TracChangeset for help on using the changeset viewer.