shell-app: Fix a memory leak in the running state

We need to free two strings that we allocated here.

https://bugzilla.gnome.org/show_bug.cgi?id=682710
This commit is contained in:
Jasper St. Pierre 2012-08-25 22:14:34 -03:00
parent 3c386e0c50
commit 785ab8192b

View File

@ -1281,6 +1281,8 @@ unref_running_state (ShellAppRunningState *state)
g_clear_object (&state->remote_menu);
g_clear_object (&state->muxer);
g_clear_pointer (&state->unique_bus_name, g_free);
g_clear_pointer (&state->remote_menu, g_free);
g_slice_free (ShellAppRunningState, state);
}