neuwld

patched neuwld library (tracked)
git clone https://git.daat.foo/neuwld.git
Log | Files | Refs | README | LICENSE

commit 117cece72312fd9017b8434e18535353540c7d24
parent 9f89adb7860684de4898d2dc7c958d692ef9b320
Author: Michael Forney <mforney@mforney.org>
Date:   Sun,  2 Nov 2014 02:01:22 +0000

nouveau: Initialize bo to NULL so that nouveau_bo_prime_handle_ref works correctly

Diffstat:
Mnouveau.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nouveau.c b/nouveau.c @@ -387,7 +387,7 @@ struct buffer * context_import_buffer(struct wld_context * base, { struct nouveau_context * context = (void *) base; struct nouveau_buffer * buffer; - struct nouveau_bo * bo; + struct nouveau_bo * bo = NULL; switch (type) {