summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-06-20 11:49:40 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-21 14:30:15 -0700
commitb40d7af798a0a459d65bd95f34e3dff004eb554a (patch)
tree57d3f4a8fea2eb0bdf3de4f587f5162e3a4f832b /net/socket.c
parentebe9d9eb9c24e6638275599c36795784888d9e18 (diff)
net: hns3: Fix a memory leak in an error handling path in 'hclge_handle_error_info_log()'
If this 'kzalloc()' fails we must free some resources as in all the other error handling paths of this function. Fixes: 2e2deee7618b ("net: hns3: add the RAS compatibility adaptation solution") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Jiaran Zhang <zhangjiaran@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions