Commit f843317
authored
fix: double free in aeron_archive_context_t (#1897)
Calling aeron_archive_context_duplicate on a context where
_ctx->owns_idle_strategy == true will result in a context that also
attempts to own the idle strategy. This results in a double free
when calling aeron_archive_context_close.1 parent eb7989a commit f843317
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
| 263 | + | |
262 | 264 | | |
263 | 265 | | |
264 | 266 | | |
| |||
443 | 445 | | |
444 | 446 | | |
445 | 447 | | |
| 448 | + | |
446 | 449 | | |
447 | 450 | | |
448 | 451 | | |
| |||
0 commit comments