[Theora] Small memory leak...

Mat heavensdoor78 at gmail.com
Wed Oct 26 00:23:59 PDT 2005

Hi all.
In  lib\encoder_toplevel.c , row 1123-1128:

#ifndef LIBOGG2
  /* So we're expecting the application with free this? */
  memcpy(op->packet, oggpack_get_buffer(opb), oggpack_bytes(opb));

In my small testing application my debugger says there are 50 bytes of 
memory lost and it refers to
I tried also:
But I got always this leak.
How should I free that space ?
In the end of my application doesn't work... segmentation fault.
I can't go on if I don't solve this so help me please...

In alternative I could avoid this function if possible... but I don't 
know how.
Thank in advance.

More information about the Theora mailing list