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
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2010-10-31 17:21:06 +0300
committerJoerg Mueller <nexyon@gmail.com>2010-10-31 17:21:06 +0300
commit391c547208184e80d1d16acb792574d9f5b63d10 (patch)
treed24739e9a432a76483ae7d2fe07d95c2fbe010c3 /intern/audaspace
parent6b677a2616a6cac3c58e79eda19080a953d68136 (diff)
Fix for #24453: Missing delete statement.
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/intern/AUD_C-API.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}