Freeing memory allocated for engine structure in case of error.

Found by Coverity (CID 353389).
This commit is contained in:
Max Romanov
2020-02-03 11:13:55 +03:00
parent 117a4f11b9
commit 224549a578

View File

@@ -156,9 +156,9 @@ signals_fail:
#if 0
fibers_fail:
#endif
nxt_free(engine);
#endif
return NULL;
}