aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_check.c1
-rw-r--r--tests/prof2d_check.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c
index 2acd0f34..10989cbb 100644
--- a/tests/integration_check.c
+++ b/tests/integration_check.c
@@ -101,6 +101,7 @@ int main(int argc, char *argv[])
image.bad = malloc(sizeof(int *));
image.bad[0] = malloc(w*h*sizeof(int));
memset(image.bad[0], 0, w*h*sizeof(int));
+ image.sat = NULL;
image.n_crystals = 0;
image.crystals = NULL;
diff --git a/tests/prof2d_check.c b/tests/prof2d_check.c
index f66b6513..e0534710 100644
--- a/tests/prof2d_check.c
+++ b/tests/prof2d_check.c
@@ -120,6 +120,7 @@ int main(int argc, char *argv[])
memset(image.dp[0], 0, w*h*sizeof(float));
image.bad[0] = malloc(w*h*sizeof(int));
memset(image.bad[0], 0, w*h*sizeof(int));
+ image.sat = NULL;
cell = cell_new();
cell_set_lattice_type(cell, L_CUBIC);