Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361533
b: refs/heads/master
c: 4fa1339
h: refs/heads/master
i:
  361531: 84545ab
v: v3
  • Loading branch information
Ben Skeggs committed Mar 19, 2013
1 parent d5c50ee commit eee6c5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 804ca90f3fe35dd7c12889eaa74a44abbc4b91fd
refs/heads/master: 4fa133954e91b83cfa22947579154c6f16e1b2b4
3 changes: 1 addition & 2 deletions trunk/drivers/gpu/drm/nouveau/core/core/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ nouveau_object_del(struct nouveau_object *client, u32 _parent, u32 _handle)
struct nouveau_object *parent = NULL;
struct nouveau_object *namedb = NULL;
struct nouveau_handle *handle = NULL;
int ret = -EINVAL;

parent = nouveau_handle_ref(client, _parent);
if (!parent)
Expand All @@ -295,7 +294,7 @@ nouveau_object_del(struct nouveau_object *client, u32 _parent, u32 _handle)
}

nouveau_object_ref(NULL, &parent);
return ret;
return handle ? 0 : -EINVAL;
}

int
Expand Down

0 comments on commit eee6c5c

Please sign in to comment.