summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2020-03-30 18:27:02 -0500
committerDavid S. Miller <davem@davemloft.net>2020-03-30 20:14:22 -0700
commit3902baf9abfa320b21e38fe206d66d5e6688e721 (patch)
treeb2aeca37ae751a6dd186a1b95df15dd875171826 /Documentation
parent1a795da798759471cfdc994f5efe998f915f1fd8 (diff)
netdevsim: dev: Fix memory leak in nsim_dev_take_snapshot_write
In case memory resources for dummy_data were allocated, release them before return. Addresses-Coverity-ID: 1491997 ("Resource leak") Fixes: 7ef19d3b1d5e ("devlink: report error once U32_MAX snapshot ids have been used") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions