Merge branch '86Box:master' into feature/4gpv5

This commit is contained in:
cartifanwlr 2024-02-04 19:50:10 +03:00 committed by GitHub
commit 3c179d3b56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -311,8 +311,10 @@ contaq_82c59x_close(void *priv)
{
contaq_82c59x_t *dev = (contaq_82c59x_t *) priv;
smram_del(dev->smram[1]);
smram_del(dev->smram[0]);
if (dev->green) {
smram_del(dev->smram[1]);
smram_del(dev->smram[0]);
}
free(dev);
}