netbsdaudio: Minor fix.

This commit is contained in:
Ryan C. Gordon 2023-07-21 10:56:15 -04:00
parent b0d89868c6
commit 9fa4a6ef87
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ static void NETBSDAUDIO_CloseDevice(SDL_AudioDevice *device)
} }
SDL_free(device->hidden->mixbuf); SDL_free(device->hidden->mixbuf);
SDL_free(device->hidden); SDL_free(device->hidden);
device->hidden = NULL;
} }
} }