diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-02-03 11:13:55 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-02-03 11:13:55 +0300 |
commit | 224549a578084854ab7656e01de82119a196f47b (patch) | |
tree | 93b05eb5c7d4ac46ae3bb75ac703c3d8333cc88a /src/nxt_event_engine.c | |
parent | 117a4f11b9c0af40810e492841b181e418dad165 (diff) | |
download | unit-224549a578084854ab7656e01de82119a196f47b.tar.gz unit-224549a578084854ab7656e01de82119a196f47b.tar.bz2 |
Freeing memory allocated for engine structure in case of error.
Found by Coverity (CID 353389).
Diffstat (limited to 'src/nxt_event_engine.c')
-rw-r--r-- | src/nxt_event_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_event_engine.c b/src/nxt_event_engine.c index 6f051067..4384d3b1 100644 --- a/src/nxt_event_engine.c +++ b/src/nxt_event_engine.c @@ -156,9 +156,9 @@ signals_fail: #if 0 fibers_fail: +#endif nxt_free(engine); -#endif return NULL; } |