As promised in my earlier thread on libnbd completion callback question.
Eric Blake (2):
generator: Refactor handling of closures in unlocked functions
generator: Free closures on failure
docs/libnbd.pod | 2 +-
generator/C.ml | 48 +++++++++++------
generator/C.mli | 1 +
lib/debug.c | 7 +--
lib/opt.c | 31 ++++++-----
lib/rw.c | 109 +++++++++++++++++++++++---------------
tests/closure-lifetimes.c | 63 +++++++++++++++++++++-
tests/newstyle-limited.c | 18 ++++++-
8 files changed, 200 insertions(+), 79 deletions(-)
--
2.28.0