aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPascal Hogan-Lamarre <pascal.hogan@gmail.com>2020-07-09 14:38:19 +0200
committerPascal Hogan-Lamarre <pascal.hogan@gmail.com>2020-07-09 14:38:19 +0200
commitf1a24d0e4c32735fa016cbb262b61a1cce5960fc (patch)
tree7cd829866f2b88daa942816320cb7cd45a7ace54 /src
parent1072337f17ccafb2efa73e174bb2b227fd4bace3 (diff)
unit cell vectors are correct, space group missing
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index a03955ba..bfeb2960 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -848,7 +848,7 @@ int main(int argc, char *argv[])
ERROR("Failed to open input file '%s'\n", args.filename);
return 1;
}
- free(args.filename);
+
/* Check prefix (if given) */
if ( args.check_prefix ) {
@@ -1007,7 +1007,11 @@ int main(int argc, char *argv[])
taketwo_opts,
xgandalf_opts,
pinkindexer_opts,
- felix_opts);
+ felix_opts,
+ args.filename);
+
+ free(args.filename);
+
if ( args.iargs.ipriv == NULL ) {
ERROR("Failed to set up indexing system\n");
return 1;