projects
/
hildon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-04-01 Alberto Garcia <agarcia@igalia.com>
[hildon]
/
src
/
hildon-program.c
diff --git
a/src/hildon-program.c
b/src/hildon-program.c
index
f45e49f
..
79639a3
100644
(file)
--- a/
src/hildon-program.c
+++ b/
src/hildon-program.c
@@
-354,7
+354,11
@@
hildon_program_update_top_most (HildonProgram *program)
wm_hints = XGetWMHints (GDK_DISPLAY (), active_window);
xerror = gdk_error_trap_pop ();
if (xerror)
+ {
+ if (wm_hints)
+ XFree (wm_hints);
return;
+ }
if (wm_hints)
{