mbox series

[0/2] usb: gadget: Fix two memleaks in error handling

Message ID 20201116121710.1546690-1-zhangqilong3@huawei.com
Headers show
Series usb: gadget: Fix two memleaks in error handling | expand

Message

Zhang Qilong Nov. 16, 2020, 12:17 p.m. UTC
This patch sets fix two memleaks before error returns.

Zhang Qilong (2):
  usb: gadget: f_midi: Fix memleak in f_midi_alloc
  usb: gadget: Fix memleak in gadgetfs_fill_super

 drivers/usb/gadget/function/f_midi.c | 3 +++
 drivers/usb/gadget/legacy/inode.c    | 3 +++
 2 files changed, 6 insertions(+)