mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
This patch fixes potential double frees if register_hdlc_device() fails. Signed-off-by: Wen Yang <[email protected]> Reviewed-by: Peng Hao <[email protected]> CC: Zhao Qiang <[email protected]> CC: "David S. Miller" <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected] Signed-off-by: David S. Miller <[email protected]>