summaryrefslogtreecommitdiffstats
path: root/net/tipc/monitor.c
diff options
context:
space:
mode:
authorTommi Rantala <tommi.t.rantala@nokia.com>2017-12-22 09:35:16 +0200
committerDavid S. Miller <davem@davemloft.net>2017-12-27 10:54:59 -0500
commit19142551b2be4a9e13838099fde1351386e5e007 (patch)
tree14dfb9960bbccb771cec3be19a1b0408414c8b89 /net/tipc/monitor.c
parent14e138a86f6347c6199f610576d2e11c03bec5f0 (diff)
downloadlinux-19142551b2be4a9e13838099fde1351386e5e007.tar.bz2
tipc: error path leak fixes in tipc_enable_bearer()
Fix memory leak in tipc_enable_bearer() if enable_media() fails, and cleanup with bearer_disable() if tipc_mon_create() fails. Acked-by: Ying Xue <ying.xue@windriver.com> Acked-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/monitor.c')
0 files changed, 0 insertions, 0 deletions