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:
9ae2f11
)
shell: Free temporary strings
author
Quentin Glidic
<sardemff7+git@sardemff7.net>
Tue, 18 Jun 2013 07:11:03 +0000
(09:11 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 20 Jun 2013 19:22:35 +0000
(15:22 -0400)
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
src/shell.c
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
ceb963c
..
4447995
100644
(file)
--- a/
src/shell.c
+++ b/
src/shell.c
@@
-402,8
+402,10
@@
shell_configuration(struct desktop_shell *shell)
weston_config_section_get_string(section,
"binding-modifier", &s, "super");
shell->binding_modifier = get_modifier(s);
+ free(s);
weston_config_section_get_string(section, "animation", &s, "none");
shell->win_animation_type = get_animation_type(s);
+ free(s);
weston_config_section_get_uint(section, "num-workspaces",
&shell->workspaces.num,
DEFAULT_NUM_WORKSPACES);