aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-04-13 17:11:09 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:24 +0100
commitd016ebd2fbc4106fad20db0e96ff9ceb95971fcf (patch)
tree6f9a762c4973b7fe9929bed53cccb9278d0bb73a /src
parentbf8f47751a6618a52424cfed9af6124cec913539 (diff)
Don't forget to free det->mask
Diffstat (limited to 'src')
-rw-r--r--src/detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/detector.c b/src/detector.c
index 0caf621e..ec99facf 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -769,6 +769,7 @@ void free_detector_geometry(struct detector *det)
{
free(det->panels);
free(det->bad);
+ free(det->mask);
free(det);
}