Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358186
b: refs/heads/master
c: 32ac1a5
h: refs/heads/master
v: v3
  • Loading branch information
Cong Ding authored and Rob Clark committed Feb 16, 2013
1 parent 7ee82eb commit 00b60bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 238083ad5d67d1c9ba6e7158a027e834a48bb23b
refs/heads/master: 32ac1a5286d56b3c822f4a1a8d0f7fc5d586de38
6 changes: 3 additions & 3 deletions trunk/drivers/staging/omapdrm/omap_gem_dmabuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ static struct sg_table *omap_gem_map_dma_buf(
/* this should be after _get_paddr() to ensure we have pages attached */
omap_gem_dma_sync(obj, dir);

out:
if (ret)
return ERR_PTR(ret);
return sg;
out:
kfree(sg);
return ERR_PTR(ret);
}

static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment,
Expand Down

0 comments on commit 00b60bc

Please sign in to comment.