Searched hist:"75 ecb9dd" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/dwc3/ |
H A D | core.c | 75ecb9dd Wed Mar 27 10:17:37 CDT 2019 Andy Shevchenko <andriy.shevchenko@linux.intel.com> usb: dwc3: Free resource immediately after use
When we read an array of integers from device properties, the temporary buffer is allocated.
However, in case of dwc3_set_incr_burst_type() it's not freed. Free allocated buffer immediately after use.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> 75ecb9dd Wed Mar 27 10:17:37 CDT 2019 Andy Shevchenko <andriy.shevchenko@linux.intel.com> usb: dwc3: Free resource immediately after use When we read an array of integers from device properties, the temporary buffer is allocated. However, in case of dwc3_set_incr_burst_type() it's not freed. Free allocated buffer immediately after use. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
|