[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 Signed-off-by: Manjunath Goudar Cc: David Airlie Cc: "Paul E. McKenney" Cc: David Howells Cc: Thomas Gleixner Cc: Dav

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 > > 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 > Signed-off-by: Manj

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

2013-09-04 Thread Manjunath Goudar
From: Jeyaraman R 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 Signed-off-by: Manjunath Goudar Cc: David Airlie Cc: "Paul E. McKenney" Cc: David Howells Cc: Tho