summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-05-13 14:34:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-21 14:34:10 +0200
commit5c7ef5001292d70d09d90bc2251f7d869b9d135c (patch)
tree104bb53cd4b10b26b3f69fc04c8707d40f718f73 /net/lapb/lapb_timer.c
parent485ae08592521893c9251b89d4098503934da024 (diff)
ALSA: qc_audio_offload: avoid leaking xfer_buf allocation
The info->xfer_buf_cpu member is set to a NULL value because the allocation happens in a different function and is only assigned to the function argument but never passed back. Pass it by reference instead to have a handle that can actually be freed by the final usb_free_coherent() call. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20250513123442.159936-3-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions