Re: [PATCH] drm/gma500: fix double freeing

From: Sudip Mukherjee
Date: Thu Sep 24 2015 - 11:57:35 EST


On Wed, Sep 09, 2015 at 06:20:40PM +0530, Sudip Mukherjee wrote:
> If backing->stolen is true then we were freeing backing by calling
> psb_gtt_free_range() but we called it again after unlocking the mutex.
> Lets make it NULL after freeing in psb_gtt_free_range() and check for
> NULL before calling the function for the second time.
>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>
> ---
Hi Patrik,
A gentle ping.

regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/