On 20/09/16 11:56, Andrew Donnellan wrote:
In the err_free_vram and err_release_fbi error paths in astfb_create(), we
attempt to free afbdev->sysram. The only jumps to these error paths occur
before we assign afbdev->sysram = sysram. Free sysram instead.

Signed-off-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com>


Found by Coverity Scan. Compile tested only.

Resending as it looks like this didn't hit dri-devel.

It did show up after all :)

Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnel...@au1.ibm.com  IBM Australia Limited

Reply via email to