kopper: Do not free the given screen in initScreen implementation
authorCorentin Noël <corentin.noel@collabora.com>
Thu, 26 Jan 2023 12:25:57 +0000 (13:25 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 8 Feb 2023 20:34:39 +0000 (20:34 +0000)
commitc6d2afccc87bf007fa60eddf69555148dffa0bd0
treed6c3fd8f7be37af5eddba2b208cb87d322a0dffe
parent8b883564a4a3c9f5c8061aa0676a3e51d72bed20
kopper: Do not free the given screen in initScreen implementation

The given screen is already freed by the caller in case a NULL-pointer is
returned by the implementation.

Cc: mesa-stable
Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20933>
(cherry picked from commit dd3730f8bdd7afdbc7fb0e9dd200951f9d713a34)
.pick_status.json
src/gallium/frontends/dri/kopper.c