diff --git a/src/rcfile.c b/src/rcfile.c index 87f9ff789719c79a7ed990044aae7ce76d86a0d3..5e4af037702b527d593c6e3900a1d810da731d50 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -1220,7 +1220,6 @@ void parse_rcfile(FILE *rcstream, bool syntax_only) fclose(rcstream); lineno = 0; - check_vitals_mapped(); return; } @@ -1285,6 +1284,8 @@ void do_rcfile(void) parse_rcfile(rcstream, FALSE); } + check_vitals_mapped(); + free(nanorc); nanorc = NULL;