window-tracker: Fix memory leak

shell_window_tracker_get_window_app() returns a new reference
which we need to drop once we're done.

https://bugzilla.gnome.org/show_bug.cgi?id=722927
This commit is contained in:
Florian Müllner 2014-01-24 10:11:49 -05:00
parent 57367380f5
commit ac22172a6e

View File

@ -484,6 +484,8 @@ update_focus_app (ShellWindowTracker *self)
}
set_focus_app (self, new_focus_app);
g_clear_object (&new_focus_app);
}
static void