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:
3d0de2f
)
wayland-common: Added missing renderer destroy calls when connection failed.
87/83087/1
accepted/tizen/3.0/ivi/20161011.055435
accepted/tizen/3.0/mobile/20161015.034013
accepted/tizen/3.0/tv/20161016.005757
accepted/tizen/3.0/wearable/20161015.084100
accepted/tizen/common/20160809.184040
accepted/tizen/ivi/20160809.080020
accepted/tizen/mobile/20160809.075919
accepted/tizen/tv/20160809.075939
accepted/tizen/wearable/20160809.075958
submit/tizen/20160809.062109
submit/tizen_3.0_common/20161104.104000
submit/tizen_3.0_ivi/20161010.000005
submit/tizen_3.0_mobile/20161015.000005
submit/tizen_3.0_tv/20161015.000005
submit/tizen_3.0_wearable/20161015.000005
author
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 9 Aug 2016 06:50:13 +0000
(15:50 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 9 Aug 2016 06:50:13 +0000
(15:50 +0900)
Change-Id: I0fcf4ef98288f636e5c536b1b6488d0670cc025e
src/lib/wayland/wayland-common.c
patch
|
blob
|
history
diff --git
a/src/lib/wayland/wayland-common.c
b/src/lib/wayland/wayland-common.c
index
f97d1c9
..
de94392
100644
(file)
--- a/
src/lib/wayland/wayland-common.c
+++ b/
src/lib/wayland/wayland-common.c
@@
-147,6
+147,12
@@
pepper_wayland_connect(pepper_compositor_t *compositor, const char *socket_name)
return conn;
error:
+ if (conn->pixman_renderer)
+ pepper_renderer_destroy(conn->pixman_renderer);
+
+ if (conn->gl_renderer)
+ pepper_renderer_destroy(conn->gl_renderer);
+
string_free(conn->socket_name);
wl_display_disconnect(conn->display);
free(conn);