Updating branch refs/heads/kelnos/new-sm-client to 52861a5f14d2d0e32e032fb3082e327ce45980e5 (commit) from 3d2875aa106d33ed1194fd4ce4dd20e254ee404a (commit)
commit 52861a5f14d2d0e32e032fb3082e327ce45980e5 Author: Brian J. Tarricone <br...@tarricone.org> Date: Tue Sep 15 16:23:46 2009 -0700 clear out global startup options in _finalize() libxfce4ui/xfce-sm-client.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/libxfce4ui/xfce-sm-client.c b/libxfce4ui/xfce-sm-client.c index 18b95c5..79f3c1c 100644 --- a/libxfce4ui/xfce-sm-client.c +++ b/libxfce4ui/xfce-sm-client.c @@ -600,6 +600,13 @@ xfce_sm_client_finalize(GObject *obj) g_assert(sm_client == sm_client_singleton); sm_client_singleton = NULL; + startup_options.argc = 0; + g_strfreev(startup_options.argv); + startup_options.argv = NULL; + g_free(startup_options.client_id); + startup_options.client_id = NULL; + startup_options.sm_disable = FALSE; + #ifdef HAVE_LIBSM if(sm_client->session_connection) xfce_sm_client_disconnect(sm_client); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits