diff options
| author | Wei Yongjun <[email protected]> | 2019-10-28 07:06:49 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-11-04 14:01:24 +0000 |
| commit | 1fa1b6ca0fda97cbfccdc6b80b1a6b2920751665 (patch) | |
| tree | efc4f9eda54c0d063e4fedd6e0a07225334f2554 /drivers/net/xen-netback/interface.c | |
| parent | intel_th: msu: Fix overflow in shift of an unsigned int (diff) | |
| download | kernel-1fa1b6ca0fda97cbfccdc6b80b1a6b2920751665.tar.gz kernel-1fa1b6ca0fda97cbfccdc6b80b1a6b2920751665.zip | |
intel_th: msu: Fix possible memory leak in mode_store()
'mode' is malloced in mode_store() and should be freed before leaving
from the error handling cases, otherwise it will cause memory leak.
Fixes: 615c164da0eb ("intel_th: msu: Introduce buffer interface")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
