summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-06-08 16:58:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-06-25 15:11:27 +0100
commit8af6812795869a66e9b26044f455b13deecdb69c (patch)
treeb0b7e32960d5a73bd4134fd1a4b22bbfbd0b38c2 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent2c00e09e3f9f06f8434f5ea2ee6179ce46692ee6 (diff)
USB: ulpi: fix memory leak on registration failure
The allocated device name is never freed on early ULPI device registration failures. Fix this by initialising the device structure earlier and releasing the initial reference whenever registration fails. Fixes: 289fcff4bcdb ("usb: add bus type for USB ULPI") Cc: stable <stable@kernel.org> Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260608145803.69360-1-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions