commit 117cece

Michael Forney  ·  2014-11-02 02:01:22 +0000 UTC
parent 9f89adb
nouveau: Initialize bo to NULL so that nouveau_bo_prime_handle_ref works correctly
1 files changed,  +1, -1
+1, -1
1@@ -387,7 +387,7 @@ struct buffer * context_import_buffer(struct wld_context * base,
2 {
3     struct nouveau_context * context = (void *) base;
4     struct nouveau_buffer * buffer;
5-    struct nouveau_bo * bo;
6+    struct nouveau_bo * bo = NULL;
7 
8     switch (type)
9     {