Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37599
b: refs/heads/master
c: 3fcd03e
h: refs/heads/master
i:
  37597: 931710f
  37595: a7e452d
  37591: 16f98ee
  37583: 42c0c8b
  37567: b705c4e
v: v3
  • Loading branch information
Gavin Lambert authored and Linus Torvalds committed Oct 1, 2006
1 parent d8f97ff commit 1114d4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: ab8e92efcf3f7972f30033cad75f180aef4f3abc
refs/heads/master: 3fcd03e07008ec0f667dfb7626171165699ea5c2
3 changes: 2 additions & 1 deletion trunk/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,8 @@ unsigned long do_mmap_pgoff(struct file *file,
up_write(&nommu_vma_sem);
kfree(vml);
if (vma) {
fput(vma->vm_file);
if (vma->vm_file)
fput(vma->vm_file);
kfree(vma);
}
return ret;
Expand Down

0 comments on commit 1114d4a

Please sign in to comment.