diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c index 005a02b3367..5a4796e1c36 100644 --- a/src/gallium/drivers/llvmpipe/lp_texture.c +++ b/src/gallium/drivers/llvmpipe/lp_texture.c @@ -1506,6 +1506,7 @@ llvmpipe_import_memory_fd(struct pipe_screen *screen, if (!ret) { free(alloc); *ptr = NULL; + return false; } else { *ptr = (struct pipe_memory_allocation*)alloc; }