Fix some memory leaks if SDDM is closed when a session is running
Merge pull request #162 from davidedmundson/memory_leaks

Fix some memory leaks if SDDM is closed when a session is running