aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-01-05 10:52:23 -0600
committerDavid S. Miller <davem@davemloft.net>2019-01-07 11:42:08 -0500
commitf87d8ad9233f115db92c6c087d58403b0009ed36 (patch)
treecc30dc603aa2816f59110627eb9c95724a9fc6a3 /lib
parentcdc_ether: trivial whitespace readability fix (diff)
downloadlinux-dev-f87d8ad9233f115db92c6c087d58403b0009ed36.tar.xz
linux-dev-f87d8ad9233f115db92c6c087d58403b0009ed36.zip
tipc: fix memory leak in tipc_nl_compat_publ_dump
There is a memory leak in case genlmsg_put fails. Fix this by freeing *args* before return. Addresses-Coverity-ID: 1476406 ("Resource leak") Fixes: 46273cf7e009 ("tipc: fix a missing check of genlmsg_put") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions