syncbase: Fix memory leak in ReadBatchFromLog

ReadBatchFromLog iterates through a stream.  In the event that it stops
Advancing before the stream is done, we must call stream.Cancel(),
otherwise the stream is never closed.

Change-Id: I386dfdad49ddf84407f1ca09564011bf0afd1120
1 file changed
tree: 50a220ba18997427c7d2c5f1467628070460be3a
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.