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:
725a85c
)
desktop-shell: fix DEREF_AFTER_NULL
64/55664/1
author
Sangjin Lee
<lsj119@samsung.com>
Mon, 28 Dec 2015 11:07:38 +0000
(20:07 +0900)
committer
Sangjin Lee
<lsj119@samsung.com>
Mon, 28 Dec 2015 11:07:38 +0000
(20:07 +0900)
Change-Id: I81e79341a56b3f493547c88f09822aed8b485b10
src/lib/desktop-shell/xdg-shell.c
patch
|
blob
|
history
diff --git
a/src/lib/desktop-shell/xdg-shell.c
b/src/lib/desktop-shell/xdg-shell.c
index
5b36573
..
f6bc945
100644
(file)
--- a/
src/lib/desktop-shell/xdg-shell.c
+++ b/
src/lib/desktop-shell/xdg-shell.c
@@
-346,7
+346,10
@@
xdg_shell_get_xdg_popup(struct wl_client *client,
shsurf = shell_surface_create(shell_client, surface, client, &xdg_popup_interface,
&xdg_popup_implementation, 1, id);
if (!shsurf)
+ {
wl_client_post_no_memory(client);
+ return ;
+ }
shell_surface_set_popup(shsurf, seat, parent, x, y, flags, serial);
}