[PATCH] DRM: TTM: Fix memory leak issue in ttm_agp_tt_create().

2013-10-09 Thread Majunath Goudar
This patch adds kfree() in ttm_agp_tt_create() to avoide the memory leak, without this there is a chance of memory leak in ttm_tt_init() fail case. Signed-off-by: Jeyaraman R jeyaraman.rangas...@lge.com Signed-off-by: Manjunath Goudar csmanjuvi...@gmail.com Cc: David Airlie airl...@linux.ie Cc:

Re: [PATCH] DRM: TTM: Fix memory leak issue in ttm_agp_tt_create().

2013-09-06 Thread Konrad Rzeszutek Wilk
On Wed, Sep 04, 2013 at 11:58:10AM +0530, Manjunath Goudar wrote: From: Jeyaraman R jeyaraman.rangas...@lge.com This patch adds kfree() in ttm_agp_tt_create() to avoide the memory leak, without this there is a chance of memory leak in ttm_tt_init() fail case. Signed-off-by: Jeyaraman R

[PATCH] DRM: TTM: Fix memory leak issue in ttm_agp_tt_create().

2013-09-05 Thread Manjunath Goudar
From: Jeyaraman R jeyaraman.rangas...@lge.com This patch adds kfree() in ttm_agp_tt_create() to avoide the memory leak, without this there is a chance of memory leak in ttm_tt_init() fail case. Signed-off-by: Jeyaraman R jeyaraman.rangas...@lge.com Signed-off-by: Manjunath Goudar