If HOME environment variable is not set, sway fails startup with a segmentation fault due to null pointer dereference. Also check calloc return value and only perform the fallback code when really needed. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>master
parent
c9458b9fb1
commit
e7f4e50da0
Loading…
Reference in new issue