summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-08-22 16:19:44 +0400
committerDan Williams <dan.j.williams@intel.com>2014-08-22 17:17:37 +0400
commit8e1f50d7433b9a6e52cb296943f53c3ce8189ea5 (patch)
treeead604fd4ce9da52cae2cec23f012b77384b31f5 /net/ipv4/tcp_ipv4.c
parente628ce70cae5ccd67830b0e2c3d038831746d86b (diff)
downloadlinux-8e1f50d7433b9a6e52cb296943f53c3ce8189ea5.tar.xz
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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions