: m_name(xbt_strdup(name)), m_properties(props), p_model(model), m_running(true)
{}
-Resource::Resource(){
- //FIXME:free(m_name);
- //FIXME:xbt_dict_free(&m_properties);
-}
+Resource::Resource()
+: m_name(NULL), m_properties(NULL), p_model(NULL)
+{}
const char *Resource::getName()
{
m_maxDuration(NO_MAX_DURATION),
m_cost(cost),
p_model(model),
- m_refcount(1)
+ m_refcount(1),
+ p_data(NULL)
{
#ifdef HAVE_TRACING
p_category = NULL;