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
This is already destroyed by Storage::~Storage.
[simgrid.git]
/
src
/
surf
/
storage_n11.cpp
diff --git
a/src/surf/storage_n11.cpp
b/src/surf/storage_n11.cpp
index
e8388de
..
6647d69
100644
(file)
--- a/
src/surf/storage_n11.cpp
+++ b/
src/surf/storage_n11.cpp
@@
-26,10
+26,6
@@
static XBT_INLINE void surf_storage_resource_free(void *r)
{
// specific to storage
StoragePtr storage = dynamic_cast<StoragePtr>(static_cast<ResourcePtr>(r));
- xbt_dict_free(&storage->p_content);
- xbt_dynar_free(&storage->p_writeActions);
- free(storage->p_typeId);
- free(storage->p_contentType);
// generic resource
delete storage;
}