A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Memleaks
[simgrid.git]
/
src
/
surf
/
surf.hpp
diff --git
a/src/surf/surf.hpp
b/src/surf/surf.hpp
index
aaafa54
..
770c293
100644
(file)
--- a/
src/surf/surf.hpp
+++ b/
src/surf/surf.hpp
@@
-169,7
+169,7
@@
public:
Resource(ModelPtr model, const char *name, xbt_dict_t properties);
virtual ~Resource() {
xbt_free((void*)m_name);
Resource(ModelPtr model, const char *name, xbt_dict_t properties);
virtual ~Resource() {
xbt_free((void*)m_name);
-
xbt_dict_free(&m_properties);
+ xbt_dict_free(&m_properties);
};
virtual void updateState(tmgr_trace_event_t event_type, double value, double date)=0;
};
virtual void updateState(tmgr_trace_event_t event_type, double value, double date)=0;