artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c249a
)
Drop reference to dmabuf "file" as fnew() returns one that has two
author
kettenis
<kettenis@openbsd.org>
Sun, 12 Aug 2018 19:05:37 +0000
(19:05 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sun, 12 Aug 2018 19:05:37 +0000
(19:05 +0000)
references.
ok visa@, deraadt@
sys/dev/pci/drm/drm_linux.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_linux.c
b/sys/dev/pci/drm/drm_linux.c
index
6564fd8
..
a342ebc
100644
(file)
--- a/
sys/dev/pci/drm/drm_linux.c
+++ b/
sys/dev/pci/drm/drm_linux.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: drm_linux.c,v 1.2
6 2018/07/03 20:40:25
kettenis Exp $ */
+/* $OpenBSD: drm_linux.c,v 1.2
7 2018/08/12 19:05:37
kettenis Exp $ */
/*
* Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org>
* Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org>
@@
-912,6
+912,7
@@
dma_buf_export(const struct dma_buf_export_info *info)
dmabuf->size = info->size;
dmabuf->file = fp;
fp->f_data = dmabuf;
+ FRELE(fp, p);
return dmabuf;
}