mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-07 14:18:04 +03:00
Fix SEGV when ald is not found
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user