Re: [PATCH 2/2] drm: fix a memleak on mutex failure path

2015-04-27 Thread Oleg Drokin
Hello! On Apr 27, 2015, at 4:56 AM, Jani Nikula wrote: > On Sun, 26 Apr 2015, gr...@linuxhacker.ru wrote: >> From: Oleg Drokin >> >> Need to free just allocated ctx allocation if we cannot >> get our config mutex. >> >> This one has been flagged by kbuild bot all the way back in August, >> but

Re: [PATCH 2/2] drm: fix a memleak on mutex failure path

2015-04-27 Thread Jani Nikula
On Sun, 26 Apr 2015, gr...@linuxhacker.ru wrote: > From: Oleg Drokin > > Need to free just allocated ctx allocation if we cannot > get our config mutex. > > This one has been flagged by kbuild bot all the way back in August, > but somehow nobody picked it up: > https://lists.01.org/pipermail/kbuil

[PATCH 2/2] drm: fix a memleak on mutex failure path

2015-04-25 Thread green
From: Oleg Drokin Need to free just allocated ctx allocation if we cannot get our config mutex. This one has been flagged by kbuild bot all the way back in August, but somehow nobody picked it up: https://lists.01.org/pipermail/kbuild/2014-August/001691.html Found with smatch. Signed-off-by: O