Fix a memory leak when remote address was allocated in eter_pool.
Fix a memory leak when remote address was allocated in etet_pool (eternal memory pool) in recovery_follow_remote (start of replication). Remove fiber->data, as redundant and confusing. fiber->f_data is sufficient for all possible needs. Fix a bug when fiber_server::data was never initialized but passed to "on_bind" callback of fiber_server (this worked since no single "on_bind" callback uses its "data" argument).
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- core/fiber.m 11 additions, 11 deletionscore/fiber.m
- core/log_io_remote.m 9 additions, 11 deletionscore/log_io_remote.m
- core/palloc.m 2 additions, 3 deletionscore/palloc.m
- core/say.m 1 addition, 1 deletioncore/say.m
- include/fiber.h 3 additions, 5 deletionsinclude/fiber.h
- include/log_io.h 2 additions, 0 deletionsinclude/log_io.h
- include/palloc.h 1 addition, 0 deletionsinclude/palloc.h
Loading
Please register or sign in to comment