summaryrefslogtreecommitdiff
path: root/src/til_module_context.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-14 08:20:52 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-14 08:25:42 -0700
commit7231e59fecf19de0077f8eae3baed952155fa62b (patch)
tree837771604cc2154f5e6c8236441bdbdf01da37d0 /src/til_module_context.h
parent05fcdc986c2c3657f2c78eace807b2df8ef0b660 (diff)
modules/rkt: wire up pipe_dtor to stop leaking rkt_pipe_t
On shutdown til_stream_untap_owner() will call into the pipe_dtor hook if set. So until now this was just (harmlessly) leaking the rkt_pipe_t allocated by the pipe_ctor hook on the road to process exit. But in the interests of silencing ASAN about leaks on graceful exit, I'm tying up these loose ends. This dtor will also be utilized for performing a FORGET_TRACK via Rocket once that's a thing. While here I also got rid of the pipe_dtor return value, as it's unused with no clear potential purpose (for now).
Diffstat (limited to 'src/til_module_context.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved