Date: Fri, 17 Aug 2007 01:12:31 +0200
From: Couriersud Subject: fix for audio dsp exit crash / various dfb issues The current code will crash on exiting an application. The attached diff fixes the issue. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402620
This commit is contained in:
parent
79f25b0b9e
commit
8acf15bdaa
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ SDL_FreeUnixAudioDevices(char ***devices, int *devCount)
|
|||
int i = *devCount;
|
||||
if ((i > 0) && (*devices != NULL)) {
|
||||
while (i--) {
|
||||
SDL_free((*devices)[*devCount]);
|
||||
SDL_free((*devices)[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue