projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c91408f
)
desktop-shell: Add a missing return; in an error path
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Thu, 7 Aug 2014 20:43:13 +0000
(16:43 -0400)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 8 Aug 2014 21:59:48 +0000
(14:59 -0700)
desktop-shell/shell.c
patch
|
blob
|
history
diff --git
a/desktop-shell/shell.c
b/desktop-shell/shell.c
index
250cf88
..
7370972
100644
(file)
--- a/
desktop-shell/shell.c
+++ b/
desktop-shell/shell.c
@@
-3741,6
+3741,7
@@
xdg_get_xdg_popup(struct wl_client *client,
wl_resource_post_error(surface_resource,
WL_DISPLAY_ERROR_INVALID_OBJECT,
"xdg_shell::get_xdg_popup requires a parent shell surface");
+ return;
}
parent = wl_resource_get_user_data(parent_resource);