From 391c547208184e80d1d16acb792574d9f5b63d10 Mon Sep 17 00:00:00 2001 From: Joerg Mueller Date: Sun, 31 Oct 2010 14:21:06 +0000 Subject: Fix for #24453: Missing delete statement. --- intern/audaspace/intern/AUD_C-API.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'intern/audaspace') diff --git a/intern/audaspace/intern/AUD_C-API.cpp b/intern/audaspace/intern/AUD_C-API.cpp index 1dd0ab1ac95..2e7309bf5c9 100644 --- a/intern/audaspace/intern/AUD_C-API.cpp +++ b/intern/audaspace/intern/AUD_C-API.cpp @@ -241,6 +241,7 @@ AUD_SoundInfo AUD_getInfo(AUD_Sound* sound) { info.specs = reader->getSpecs(); info.length = reader->getLength() / (float) info.specs.rate; + delete reader; } } catch(AUD_Exception&) @@ -721,7 +722,7 @@ int AUD_setDeviceVolume(AUD_Device* device, float volume) return true; } catch(AUD_Exception&) {} - + return false; } -- cgit v1.2.3