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:
9a6c48d
)
window.c: Use xmalloc for frame_create()
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 25 Jul 2013 23:25:15 +0000
(16:25 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 25 Jul 2013 23:25:15 +0000
(16:25 -0700)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
dd9ea7a
..
0590090
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-2603,7
+2603,7
@@
frame_create(struct window *window, void *data)
{
struct frame *frame;
- frame = malloc(sizeof *frame);
+ frame =
x
malloc(sizeof *frame);
memset(frame, 0, sizeof *frame);
frame->widget = window_add_widget(window, frame);