projects
/
platform
/
core
/
uifw
/
pepper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64cb94e
)
wayland-shm-buffer: fixed double close for anonymous file.
54/82754/1
author
Gwanglim Lee
<gl77.lee@samsung.com>
Fri, 5 Aug 2016 12:38:38 +0000
(21:38 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Fri, 5 Aug 2016 12:38:38 +0000
(21:38 +0900)
Change-Id: I05a3541e7bcb8cd6f54edb4f551e6f5299d4ce8f
src/lib/wayland/wayland-shm-buffer.c
patch
|
blob
|
history
diff --git
a/src/lib/wayland/wayland-shm-buffer.c
b/src/lib/wayland/wayland-shm-buffer.c
index 4f94e2b0df101ea58d6b46771f4254f3ec700e8e..dfbfd48779ec9479eb1784691072a72fcd2ff893 100644
(file)
--- a/
src/lib/wayland/wayland-shm-buffer.c
+++ b/
src/lib/wayland/wayland-shm-buffer.c
@@
-92,6
+92,7
@@
wayland_shm_buffer_create(wayland_output_t *output)
wl_buffer_add_listener(buffer->buffer, &buffer_listener, buffer);
wl_shm_pool_destroy(pool);
close(fd);
+ fd = -1;
buffer->target = pepper_pixman_renderer_create_target(PEPPER_FORMAT_ARGB8888,
buffer->pixels, buffer->stride,