search for: user_pbbo

Displaying 1 result from an estimated 1 matches for "user_pbbo".

Did you mean: user_pbbos
2009 Sep 07
1
[PATCH] drm/nouveau: fix ref leak in nouveau_gem_pushbuf_validate()
...return ret; +} + +static int nouveau_gem_pushbuf_validate(struct nouveau_channel *chan, struct drm_file *file_priv, struct drm_nouveau_gem_pushbuf_bo *pbbo, @@ -279,7 +313,7 @@ nouveau_gem_pushbuf_validate(struct nouveau_channel *chan, struct drm_nouveau_gem_pushbuf_bo __user *user_pbbos = (void __force __user *)(uintptr_t)user_buffers; struct nouveau_fence *prev_fence; - struct nouveau_bo *nvbo; + struct nouveau_bo *nvbo = NULL; struct list_head *entry, *tmp; int ret = -EINVAL; int i; @@ -296,28 +330,15 @@ retry: } for (i = 0, b = pbbo; i < nr_buffers; i++,...