• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 12987747088

27 Jan 2025 11:14AM UTC coverage: 87.368% (+0.01%) from 87.354%
12987747088

push

github

locker
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

69666 of 123182 branches covered (56.56%)

0 of 2 new or added lines in 1 file covered. (0.0%)

22 existing lines in 5 files now uncovered.

102659 of 117502 relevant lines covered (87.37%)

2397151.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.49
/src/box/lua/ctl.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc