commit | 19142551b2be4a9e13838099fde1351386e5e007 | [log] [tgz] |
---|---|---|
author | Tommi Rantala <tommi.t.rantala@nokia.com> | Fri Dec 22 09:35:16 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 27 10:54:59 2017 -0500 |
tree | 14dfb9960bbccb771cec3be19a1b0408414c8b89 | |
parent | 14e138a86f6347c6199f610576d2e11c03bec5f0 [diff] |
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>