diff options
author | 2016-09-10 00:56:55 +0000 | |
---|---|---|
committer | 2016-09-13 11:28:32 -0400 | |
commit | c20cb8119337052a84e40cba94af732d870e22e3 (patch) | |
tree | 855cbc716892fc388be6b6d38e2fe357108cd068 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: bridge: add helper to call /sbin/bridge-stp (diff) | |
download | linux-dev-c20cb8119337052a84e40cba94af732d870e22e3.tar.xz linux-dev-c20cb8119337052a84e40cba94af732d870e22e3.zip |
tipc: fix possible memory leak in tipc_udp_enable()
'ub' is malloced in tipc_udp_enable() and should be freed before
leaving from the error handling cases, otherwise it will cause
memory leak.
Fixes: ba5aa84a2d22 ("tipc: split UDP nl address parsing")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
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