Commit 9bf4a36
committed
net_ssh: Clean up properly in off-nominal paths.
* Add missing bbs_pthread_enable_cancel before continuing.
* Clean up SSH session if ssh_bind_accept fails.1 parent 5ac5a1f commit 9bf4a36
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1967 | 1967 | | |
1968 | 1968 | | |
1969 | 1969 | | |
| 1970 | + | |
| 1971 | + | |
1970 | 1972 | | |
1971 | 1973 | | |
1972 | 1974 | | |
| |||
1975 | 1977 | | |
1976 | 1978 | | |
1977 | 1979 | | |
| 1980 | + | |
1978 | 1981 | | |
1979 | 1982 | | |
1980 | 1983 | | |
| |||
0 commit comments