diff options
| -rw-r--r-- | mate-session/main.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/mate-session/main.c b/mate-session/main.c index 4522aff..2b1f012 100644 --- a/mate-session/main.c +++ b/mate-session/main.c @@ -524,9 +524,12 @@ static gboolean require_dbus_session(int argc, char** argv, GError** error)  	if (!execvp("dbus-launch", new_argv))  	{  		g_set_error(error, G_SPAWN_ERROR, G_SPAWN_ERROR_FAILED, "No session bus and could not exec dbus-launch: %s", g_strerror(errno)); +		g_free (new_argv);  		return FALSE;  	} +	g_free (new_argv); +  	/* Should not be reached */  	return TRUE;  } | 
