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
Implement xbt_dict_t content for storage model
[simgrid.git]
/
src
/
include
/
surf
/
surf_resource.h
diff --git
a/src/include/surf/surf_resource.h
b/src/include/surf/surf_resource.h
index
8411837
..
aa72c4c
100644
(file)
--- a/
src/include/surf/surf_resource.h
+++ b/
src/include/surf/surf_resource.h
@@
-23,10
+23,10
@@
static XBT_INLINE
static XBT_INLINE void routing_storage_type_free(void *r)
{
storage_type_t stype = r;
static XBT_INLINE void routing_storage_type_free(void *r)
{
storage_type_t stype = r;
- free(stype->content);
free(stype->model);
free(stype->type_id);
free(stype->model);
free(stype->type_id);
- xbt_dict_free(&stype->properties);
+ xbt_dict_free(&(stype->properties));
+ xbt_dict_free(&(stype->content));
free(stype);
}
free(stype);
}