Fix SEGV when ald is not found

This commit is contained in:
kichikuou
2019-01-06 14:20:31 +09:00
parent dcdd77da01
commit 0d2dd9560e
+1 -1
View File
@@ -538,7 +538,7 @@ static void sys35_remove() {
fclose(fpdebuglog);
}
#endif
if (0 != strcmp(nact->tmpdir, "/tmp")) {
if (nact->tmpdir && 0 != strcmp(nact->tmpdir, "/tmp")) {
rmdir(nact->tmpdir);
}
}