Commit 07e11f3
SSL: fixed potential leak on memory allocation errors.
similar to https://hg.nginx.org/nginx/rev/8981dbb12254
If ngx_pool_cleanup_add() fails, we have to clean just created SSL context
manually, thus appropriate call added.1 parent 7c60431 commit 07e11f3
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1485 | 1485 | | |
1486 | 1486 | | |
1487 | 1487 | | |
| 1488 | + | |
1488 | 1489 | | |
1489 | 1490 | | |
1490 | 1491 | | |
| |||
0 commit comments