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

2015-05-05 Thread Daniel Vetter
On Tue, Apr 28, 2015 at 10:25:46AM +0300, Jani Nikula wrote: > On Mon, 27 Apr 2015, green at 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 Aug

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

2015-04-28 Thread Jani Nikula
On Mon, 27 Apr 2015, green at 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/kb

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

2015-04-27 Thread gr...@linuxhacker.ru
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 In addition there is another failure