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
[mc] Fix test on type in mc_diff
[simgrid.git]
/
src
/
mc
/
mc_diff.c
diff --git
a/src/mc/mc_diff.c
b/src/mc/mc_diff.c
index
a3a0bd8
..
20b0e0c
100644
(file)
--- a/
src/mc/mc_diff.c
+++ b/
src/mc/mc_diff.c
@@
-1235,7
+1235,7
@@
int compare_heap_area(void *area1, void *area2, mc_snapshot_t snapshot1,
if (type_size != -1) {
if (type_size != heapinfo1->busy_block.busy_size
&& type_size != heapinfo2->busy_block.busy_size
if (type_size != -1) {
if (type_size != heapinfo1->busy_block.busy_size
&& type_size != heapinfo2->busy_block.busy_size
- &&
type->name != NULL && !strcmp(type->name, "struct s_smx_context"
)) {
+ &&
(type->name == NULL || !strcmp(type->name, "struct s_smx_context")
)) {
if (match_pairs) {
match_equals(state, previous);
xbt_dynar_free(&previous);
if (match_pairs) {
match_equals(state, previous);
xbt_dynar_free(&previous);