aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-01 17:30:35 -0700
committerThomas White <taw@physics.org>2013-06-01 17:30:35 -0700
commit0f3af7f6c8491a2c0e0c8344de98edae067df6f6 (patch)
tree4f869f41ff5876a15dd8979ed6b6b88cd6bc7a8b /src
parentfc75fe833b82679d783cb43299ed46fcf67fcc22 (diff)
Fix memory leak (properly)
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 0431d2bb..23f6cf7a 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -562,7 +562,7 @@ int main(int argc, char *argv[])
use_this_one_instead, ofd, argc, argv);
free(prefix);
- free(iargs.det);
+ free_detector_geometry(iargs.det);
return 0;
}