nakijun / zengl

Automatically exported from code.google.com/p/zengl
0 stars 0 forks source link

Memory Leak in zgl_sound_ogg.ogg_Load #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Eurekalog reported a memory leak in procedure ogg_Load( var Data : Pointer; var 
Size, Format, Frequency : LongWord );

There is a 
zgl_GetMem( Buffer, 64 * 1024 );

But it is missing a
zgl_FreeMem(Buffer);

Adding this solved the memory leak.

Original issue reported on code.google.com by wagenhei...@gmail.com on 29 Jun 2011 at 2:05

GoogleCodeExporter commented 9 years ago
thanks, fixed

Original comment by dr.andru@gmail.com on 29 Jun 2011 at 6:21

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1221.

Original comment by dr.andru@gmail.com on 29 Jun 2011 at 6:21