diff options
author | 2013-04-26 15:34:16 +0000 | |
---|---|---|
committer | 2013-04-26 23:25:39 -0400 | |
commit | 50754d2188b04a679a249fb57751542643a436e0 (patch) | |
tree | ccffc5647ba1ea8f4d89cabe27a28f3ddfbf77fe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | be2net: Avoid diagnostic test in certain versions of firmware to avoid NIC freeze. (diff) | |
download | linux-dev-50754d2188b04a679a249fb57751542643a436e0.tar.xz linux-dev-50754d2188b04a679a249fb57751542643a436e0.zip |
genetlink: fix possible memory leak in genl_family_rcv_msg()
'attrbuf' is malloced in genl_family_rcv_msg() when family->maxattr &&
family->parallel_ops, thus should be freed before leaving from the error
handling cases, otherwise it will cause memory leak.
Introduced by commit def3117493eafd9dfa1f809d861e0031b2cc8a07
(genl: Allow concurrent genl callbacks.)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions