Commit 9f4f8a2
prov/lnx: Fix ld_core_domains cleanup on init fail
Remove free call for pointer to array element.
Check if a core domain is open before closing it in
lnx_domain_close(). This can occur if fi_domain() in
lnx_open_core_domains() fails.
Signed-off-by: George Katevenis <gkatev@ics.forth.gr>1 parent ea7b49f commit 9f4f8a2
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
181 | | - | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | | - | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
0 commit comments