-
Samuel Pitoiset authored
If the driver fails to allocate memory for some reasons, it shouldn't free the 'mem' object twice. Closes: mesa/mesa#2302 Fixes: 825ddfee ("radv: Handle device memory alloc failure with normal free.") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Tested-by: Marge Bot <mesa/mesa!3508> Part-of: <mesa/mesa!3508>
bd51538d