commit | c3b2c2581988d304127c2aa218430b5fca88ce56 | [log] [tgz] |
---|---|---|
author | Tommi Rantala <tt.rantala@gmail.com> | Mon Nov 26 04:16:44 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 28 11:25:29 2012 -0500 |
tree | f24f1b072c8113dcafde12f0ca4bb323f13de6e1 | |
parent | ba695af067f9cadfec84457ac06b44e3fa849b15 [diff] |
irda: irttp: fix memory leak in irttp_open_tsap() error path Cleanup the memory we allocated earlier in irttp_open_tsap() when we hit this error path. The leak goes back to at least 1da177e4 ("Linux-2.6.12-rc2"). Discovered with Trinity (the syscall fuzzer). Signed-off-by: Tommi Rantala <tt.rantala@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>