Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Date: Fri, 17 Aug 2007 01:12:31 +0200
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
slouken committed Aug 17, 2007
1 parent af50243 commit b3aa32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_audiodev.c
Expand Up @@ -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]);
}
}

Expand Down

0 comments on commit b3aa32b

Please sign in to comment.