Bluetooth: use memset avoid memory leaks
Use memset to initialize structs to prevent memory leaks in l2cap_ecred_connect Reported-by: NZeal Robot <zealci@zte.com.cn> Signed-off-by: NMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
Showing
想要评论请 注册 或 登录