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(+) -- 2.25.4