Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161999
b: refs/heads/master
c: b455073
h: refs/heads/master
i:
  161997: 2a159f6
  161995: 9c701d8
  161991: 80250c8
  161983: e217ddc
v: v3
  • Loading branch information
Figo.zhang authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 0a72a1d commit a192e47
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0a85b6f0ab0d2edb0d41b32697111ce0e4f43496
refs/heads/master: b455073c885cf78cfea1704ce9587806ec8e3c30
5 changes: 2 additions & 3 deletions trunk/drivers/staging/comedi/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,8 @@ int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
async->prealloc_buf =
vmap(pages, n_pages, VM_MAP, PAGE_KERNEL_NOCACHE);
}
if (pages) {
vfree(pages);
}
vfree(pages);

if (async->prealloc_buf == NULL) {
/* Some allocation failed above. */
if (async->buf_page_list) {
Expand Down

0 comments on commit a192e47

Please sign in to comment.