diff options
author | Thomas White <taw@physics.org> | 2016-11-16 10:46:58 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-11-16 10:48:04 +0100 |
commit | c664d718c86fd7d287d310514bc9bad05a0810fa (patch) | |
tree | 4322590eb851c841739722efc10960527c6863b7 | |
parent | 6f2696f7a15a3b2f0a8ed39ce23e77123b85d904 (diff) |
partialator: Fix segfault when not using --custom-split
Crash introduced by 775bbc2d. How silly of me.
Thanks to Ken Beyerlein for fixing this.
-rw-r--r-- | src/partialator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partialator.c b/src/partialator.c index 03eaee50..30d265af 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -1136,7 +1136,7 @@ int main(int argc, char *argv[]) } } - check_csplit(crystals, n_crystals, csplit); + if (csplit != NULL) check_csplit(crystals, n_crystals, csplit); /* Make a first pass at cutting out crap */ STATUS("Checking patterns.\n"); |