SFML community forums

Help => Audio => Topic started by: shuramaru on April 16, 2008, 01:47:50 am

Title: Memory Leak loading Ogg Vorbis
Post by: shuramaru on April 16, 2008, 01:47:50 am
Using, SFML-1.2, when I load an Ogg Vorbis sound file, VC++ reports a memory leak.  The file was loaded precisely as shown in the tutorial.  Loading files from other formats, such as a standard WAV causes no memory leak issues.

Output from VC++:
Code: [Select]
Detected memory leaks!
Dumping objects ->
{1260} normal block at 0x056D0FD8, 512 bytes long.
 Data: <                > 00 00 00 02 00 01 00 03 80 00 80 02 80 01 80 03
{1255} normal block at 0x056CD658, 64 bytes long.
 Data: <  @   `   P 0 p > 00 00 40 00 20 00 60 00 10 00 50 00 30 00 70 00
{842} normal block at 0x056D62D8, 512 bytes long.
 Data: <                > 00 00 00 02 00 01 00 03 80 00 80 02 80 01 80 03
{837} normal block at 0x056D2958, 64 bytes long.
 Data: <  @   `   P 0 p > 00 00 40 00 20 00 60 00 10 00 50 00 30 00 70 00
Object dump complete.


Please let me know how this issue can be resolved.

Thanks.
Title: Memory Leak loading Ogg Vorbis
Post by: Laurent on April 16, 2008, 03:21:18 am
Ok I see, I'll take a look at the OGG code.

Thanks for your feedback :)
Title: Memory Leak loading Ogg Vorbis
Post by: eleinvisible on July 02, 2008, 07:50:25 pm
Just wondering: Was this an actual problem? If so, was it fixed?
Title: Memory Leak loading Ogg Vorbis
Post by: Laurent on July 03, 2008, 02:50:04 am
Sorry I still didn't check this as it is a minor issue, but I'll do ;)