26a8c19 gfxmenu: Fix double free in load_image()

1 file Authored by Alexey Makhalov 3 years ago, Committed by Daniel Kiper 3 years ago,
    gfxmenu: Fix double free in load_image()
    
    self->bitmap should be zeroed after free. Otherwise, there is a chance
    to double free (USE_AFTER_FREE) it later in rescale_image().
    
    Fixes: CID 292472
    
    Signed-off-by: Alexey Makhalov <amakhalov@vmware.com>
    Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>