mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
Merge pull request #3487 from cold-brewed/rtc-fix
rtc: Fix crash when closing device
This commit is contained in:
@@ -608,9 +608,6 @@ isartc_close(void *priv)
|
||||
io_removehandler(dev->base_addr, dev->base_addrsz,
|
||||
dev->f_rd, NULL, NULL, dev->f_wr, NULL, NULL, dev);
|
||||
|
||||
if (dev->nvr.fn != NULL)
|
||||
free(dev->nvr.fn);
|
||||
|
||||
free(dev);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user