Re: [PATCHv3 2/2] gatmux: disable destroy notification on read watcher

2019-10-08 Thread Denis Kenzior
Hi Martin, On 10/8/19 1:44 PM, Martin Hundebøll wrote: With the reference in place in received_data(), the address sanitizer now encounters a use-after-free when the destroy notification is dispatched for the read watcher (see below). Fix this by remove the destroy notification callback, as it

[PATCHv3 2/2] gatmux: disable destroy notification on read watcher

2019-10-08 Thread Martin Hundebøll
With the reference in place in received_data(), the address sanitizer now encounters a use-after-free when the destroy notification is dispatched for the read watcher (see below). Fix this by remove the destroy notification callback, as it isn't really used except in the shutdown function.