aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-09-17 22:56:18 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:57 +0100
commit3e0a90cbe88cacffaf8d84e79033934cc29aab73 (patch)
tree914df081075780df57f9541a4a65f5eca3d86ab8
parent7c1c0ae062d408b7d0abb2811e00d920d8cdd41e (diff)
cubeit: Free resources
-rw-r--r--src/cubeit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cubeit.c b/src/cubeit.c
index 79243293..cfa3e8ce 100644
--- a/src/cubeit.c
+++ b/src/cubeit.c
@@ -460,6 +460,10 @@ int main(int argc, char *argv[])
}
+ hdfile_close(hdfile);
+ free(image.data);
+ free(image.flags);
+
}
for ( i=0; i<gs; i++ ) {