aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-03-29 16:19:29 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:22 +0100
commitb56ec4de04e6ea084643a15135b911374b901b9d (patch)
treec4f3f6c536c5e19c1f1c222b54b8e0d7e7cb2a81
parentd84888fd150e27dcce24319804184993b8b0f5dd (diff)
Fix another silly bug
-rw-r--r--src/detector.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/detector.c b/src/detector.c
index 367e3358..bbbdcdf7 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -516,6 +516,9 @@ struct detector *get_detector_geometry(const char *filename)
det->panels = NULL;
det->n_bad = 0;
det->bad = NULL;
+ det->mask_good = 0;
+ det->mask_bad = 0;
+ det->mask = NULL;
do {