mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
MDS v2/MDX: Actually use nvr_path() when removing the temporary file, fixes the piling up them.
This commit is contained in:
@@ -2965,7 +2965,7 @@ image_close(void *local)
|
||||
free(img);
|
||||
|
||||
if (temp_file[0] != 0x00) {
|
||||
remove(temp_file);
|
||||
remove(nvr_path(temp_file));
|
||||
temp_file[0] = 0x00;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user