Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2015-07-28 18:39:55 +0300
committerJörg Müller <nexyon@gmail.com>2015-07-28 18:40:36 +0300
commit20c5c5e14ba0820b106945331f07909a756ff2d3 (patch)
tree63b144d7c33fa48b31c0b094016418b8ab9d8ba6 /source
parenta6b2650c7d94048591ab7c8b7b8fc4d533424bfb (diff)
Audaspace: fixing a memory access violation in the audio device list.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index 88d14333fb2..5584b087e40 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -842,7 +842,7 @@ char** BKE_sound_get_device_names(void)
audio_device_names = AUD_getDeviceNames();
#else
static const char* names[] = {
- "Null", "SDL", "OpenAL", "Jack"
+ "Null", "SDL", "OpenAL", "Jack", NULL
};
audio_device_names = (char**)names;
#endif