projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c68b3
)
clients/window: fail if NULL returned from frame_create
author
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Wed, 15 Jan 2014 21:38:51 +0000
(13:38 -0800)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 20 Jan 2014 06:03:50 +0000
(22:03 -0800)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
dddfc67
..
d8d79d0
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-4594,6
+4594,7
@@
window_show_menu(struct display *display,
window_set_buffer_transform (menu->window, window_get_buffer_transform (parent));
menu->frame = frame_create(window->display->theme, 0, 0,
FRAME_BUTTON_NONE, NULL);
+ fail_on_null(menu->frame);
menu->entries = entries;
menu->count = count;
menu->release_count = 0;