28 Oct
2019
28 Oct
'19
2:15 p.m.
On Mon, 28 Oct 2019 10:00:21 +0100, Markus Elfring wrote:
The code path is after snd_device_new() which has its own destructor callback.
Thanks for your reminder.
Can the properties of this programming interface be documented also together with the function declaration for the safer handling of ALSA components? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docu...
I can think of only adding some comment at each point mentioning that the resource will be managed by the device destructor.
Can any more API information help to improve automatic source code analysis around similar functions?
If anything we can add, let me know.
Takashi