summaryrefslogtreecommitdiff
path: root/mate-session/gsm-systemd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-session/gsm-systemd.c')
-rw-r--r--mate-session/gsm-systemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-session/gsm-systemd.c b/mate-session/gsm-systemd.c
index 3804fed..3ef6e48 100644
--- a/mate-session/gsm-systemd.c
+++ b/mate-session/gsm-systemd.c
@@ -868,7 +868,7 @@ gchar *
gsm_systemd_get_current_session_type (GsmSystemd *manager)
{
GError *gerror;
- gchar *session_id;
+ gchar *session_id = NULL;
gchar *session_class = NULL;
#ifdef HAVE_SYSTEMD
int res;