Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Memory Leak loading Ogg Vorbis  (Read 23785 times)

0 Members and 1 Guest are viewing this topic.

shuramaru

  • Newbie
  • *
  • Posts: 1
    • View Profile
Memory Leak loading Ogg Vorbis
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Memory Leak loading Ogg Vorbis
« Reply #1 on: April 16, 2008, 03:21:18 am »
Ok I see, I'll take a look at the OGG code.

Thanks for your feedback :)
Laurent Gomila - SFML developer

eleinvisible

  • Newbie
  • *
  • Posts: 47
    • View Profile
Memory Leak loading Ogg Vorbis
« Reply #2 on: July 02, 2008, 07:50:25 pm »
Just wondering: Was this an actual problem? If so, was it fixed?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Memory Leak loading Ogg Vorbis
« Reply #3 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 ;)
Laurent Gomila - SFML developer