libgdm: fix critical in collect_sessions()

We need to NULL-check the return value of g_getenv() before passing it on to g_strsplit(). I like it when bugs are this easy!

Fixes #748 (closed)

Merge request reports

Loading