Fixed the NVR close mess - all machines now work again.

This commit is contained in:
OBattler
2017-11-22 19:18:41 +01:00
parent e0030bc93c
commit 248d8c2604
2 changed files with 5 additions and 1 deletions

View File

@@ -76,6 +76,9 @@ nvr_read(uint16_t addr, void *priv)
void
nvr_at_close(void)
{
if (nvrp == NULL)
return;
if (nvrp->fname != NULL)
free(nvrp->fname);