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:
parent
3c386e0c50
commit
785ab8192b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user