From: Tommi Rantala Date: Mon, 26 Nov 2012 04:16:44 +0000 (+0000) Subject: irda: irttp: fix memory leak in irttp_open_tsap() error path X-Git-Tag: v3.7-rc8~24^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b2c2581988d304127c2aa218430b5fca88ce56;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed