summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_application.c')
-rw-r--r--src/nxt_application.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c
index 468bc627..bebe3907 100644
--- a/src/nxt_application.c
+++ b/src/nxt_application.c
@@ -327,6 +327,9 @@ nxt_app_start(nxt_task_t *task, void *data)
lang->version, lang->file);
nxt_app = nxt_app_module_load(task, lang->file);
+ if (nxt_slow_path(nxt_app == NULL)) {
+ return NXT_ERROR;
+ }
}
if (nxt_app->pre_init != NULL) {