[Nouveau] [PATCH] drm/nouveau: Do not leak client objects

2015-06-06 Thread Ben Skeggs
On 5 June 2015 at 21:35, Thierry Reding wrote: > On Thu, Oct 16, 2014 at 11:54:54AM +0200, Thierry Reding wrote: >> From: Thierry Reding >> >> The memory allocated for a nouveau_cli object in nouveau_cli_create() is >> never freed. Free the memory in nouveau_cli_destroy() to plug this leak. >> >>

[PATCH] drm/nouveau: Do not leak client objects

2015-06-05 Thread Thierry Reding
On Thu, Oct 16, 2014 at 11:54:54AM +0200, Thierry Reding wrote: > From: Thierry Reding > > The memory allocated for a nouveau_cli object in nouveau_cli_create() is > never freed. Free the memory in nouveau_cli_destroy() to plug this leak. > > kmemleak recorded this after running a couple of nouv

[PATCH] drm/nouveau: Do not leak client objects

2014-10-16 Thread Thierry Reding
From: Thierry Reding The memory allocated for a nouveau_cli object in nouveau_cli_create() is never freed. Free the memory in nouveau_cli_destroy() to plug this leak. kmemleak recorded this after running a couple of nouveau test programs. Note that kmemleak points at drm_open_helper() because fo