aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 5b6ea2fb..09feebb4 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -964,6 +964,7 @@ int main(int argc, char *argv[])
pointgroup_warning(sym_str);
sym = get_pointgroup(sym_str);
free(sym_str);
+ if ( sym == NULL ) return 1;
if ( pmodel_str != NULL ) {
if ( strcmp(pmodel_str, "unity") == 0 ) {