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
Catch up with the lastest API breakage
[simgrid.git]
/
src
/
xbt
/
dict.c
diff --git
a/src/xbt/dict.c
b/src/xbt/dict.c
index
a673500
..
1dd1e31
100644
(file)
--- a/
src/xbt/dict.c
+++ b/
src/xbt/dict.c
@@
-146,7
+146,7
@@
xbt_dict_get_or_null(xbt_dict_t dict,
} CATCH(e) {
if (e.category != not_found_error)
RETHROW;
} CATCH(e) {
if (e.category != not_found_error)
RETHROW;
- xbt_ex_free(e);
+ xbt_ex_free(
&
e);
res=NULL;
}
return res;
res=NULL;
}
return res;
@@
-292,7
+292,7
@@
static void search_not_found(xbt_dict_t head, const char *data) {
} CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
} CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
- xbt_ex_free(e);
+ xbt_ex_free(
&
e);
}
}
}
}
@@
-371,7
+371,7
@@
XBT_TEST_UNIT("remove",test_dict_remove,"Removing some values"){
} CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
} CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
- xbt_ex_free(e);
+ xbt_ex_free(
&
e);
}
traverse(head);
}
traverse(head);
@@
-383,7
+383,7
@@
XBT_TEST_UNIT("remove",test_dict_remove,"Removing some values"){
} CATCH(e) {
if (e.category != arg_error)
xbt_test_exception(e);
} CATCH(e) {
if (e.category != arg_error)
xbt_test_exception(e);
- xbt_ex_free(e);
+ xbt_ex_free(
&
e);
}
xbt_test_add0("Remove each data manually (traversing the resulting dictionnary each time)");
}
xbt_test_add0("Remove each data manually (traversing the resulting dictionnary each time)");
@@
-397,7
+397,7
@@
XBT_TEST_UNIT("remove",test_dict_remove,"Removing some values"){
} CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
} CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
- xbt_ex_free(e);
+ xbt_ex_free(
&
e);
traverse(head);
}
debuged_remove(head,"1234"); traverse(head);
traverse(head);
}
debuged_remove(head,"1234"); traverse(head);
@@
-408,7
+408,7
@@
XBT_TEST_UNIT("remove",test_dict_remove,"Removing some values"){
} CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
} CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
- xbt_ex_free(e);
+ xbt_ex_free(
&
e);
} traverse(head);
xbt_test_add0("Free the dictionnary twice");
} traverse(head);
xbt_test_add0("Free the dictionnary twice");