|
Ran
|
Files
479
|
Run time
29s
|
Badge
README BADGES
|
push
github
vinyl: fix memory leak on error decoding row during compaction Just add missing `vy_page_delete()` to `vy_slice_stream_search()`. The error is very unlikely to happen because: - `vy_slice_stream_search()` is called only once during a compaction task execution. - Memory leaks if `vy_page_find_key()` fails to decode a statement. Practically, this can only occur on memory allocation error. In tests it's triggered by an error injection. Closes #11044 NO_DOC=bug fix NO_TEST=caught by existing test now and then NO_CHANGELOG=minor; shouldn't normally happen (cherry picked from commit 36dbd4a25)
63236 of 114507 branches covered (55.22%)
94122 of 109468 relevant lines covered (85.98%)
2331187.38 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|