* src/hildon-program.c (hildon_program_update_top_most):
Fix memory leak.
Fixes: NB#109179 (Memory leak in Hildon program)
2009-04-01 Alberto Garcia <agarcia@igalia.com>
+ * src/hildon-program.c (hildon_program_update_top_most):
+ Fix memory leak.
+
+ Fixes: NB#109179 (Memory leak in Hildon program)
+
+2009-04-01 Alberto Garcia <agarcia@igalia.com>
+
* src/hildon-banner.c (-get_current_app_window):
Remove unused function.
wm_hints = XGetWMHints (GDK_DISPLAY (), active_window);
xerror = gdk_error_trap_pop ();
if (xerror)
+ {
+ if (wm_hints)
+ XFree (wm_hints);
return;
+ }
if (wm_hints)
{