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:
666bc92
)
screenshooter: Add a missing return; in an error path
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Thu, 7 Aug 2014 20:43:14 +0000
(16:43 -0400)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 8 Aug 2014 21:59:48 +0000
(14:59 -0700)
src/screenshooter.c
patch
|
blob
|
history
diff --git
a/src/screenshooter.c
b/src/screenshooter.c
index
9ae0d29
..
4403933
100644
(file)
--- a/
src/screenshooter.c
+++ b/
src/screenshooter.c
@@
-265,6
+265,7
@@
bind_shooter(struct wl_client *client,
if (client != shooter->client) {
wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
"screenshooter failed: permission denied");
+ return;
}
wl_resource_set_implementation(resource, &screenshooter_implementation,