Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123452
b: refs/heads/master
c: aad87df
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Dave Airlie committed Dec 29, 2008
1 parent c257eae commit 1610ee4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fede5c91c4a8a7701d205b2b84b9835ddc7d6f02
refs/heads/master: aad87dff5acb232666932e750318ec1fdb716e79
11 changes: 5 additions & 6 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2613,13 +2613,12 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
"back to user (%d)\n",
args->buffer_count, ret);
err:
if (object_list != NULL) {
for (i = 0; i < pinned; i++)
i915_gem_object_unpin(object_list[i]);
for (i = 0; i < pinned; i++)
i915_gem_object_unpin(object_list[i]);

for (i = 0; i < args->buffer_count; i++)
drm_gem_object_unreference(object_list[i]);

for (i = 0; i < args->buffer_count; i++)
drm_gem_object_unreference(object_list[i]);
}
mutex_unlock(&dev->struct_mutex);

pre_mutex_err:
Expand Down

0 comments on commit 1610ee4

Please sign in to comment.