diff options
| author | Andy Shevchenko <[email protected]> | 2014-08-22 12:19:44 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2014-08-22 13:17:37 +0000 |
| commit | 8e1f50d7433b9a6e52cb296943f53c3ce8189ea5 (patch) | |
| tree | ead604fd4ce9da52cae2cec23f012b77384b31f5 /drivers/net/xen-netback/interface.c | |
| parent | ioat: Use time_before_jiffies() (diff) | |
| download | kernel-8e1f50d7433b9a6e52cb296943f53c3ce8189ea5.tar.gz kernel-8e1f50d7433b9a6e52cb296943f53c3ce8189ea5.zip | |
dmatest: prevent memory leakage on error path in thread
When we fail to allocate memory for thread->srcs or thread->dsts and src_cnt or
dst_cnt great than 1 we leak memory on error path. This patch fixes the issue.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
