Closed willson-chen closed 5 years ago
Thanks. Merged as 1b22b8958cdea300f9a49ef7adb59de57cdc60b0.
I suspect this was old-style C where saving two lines and relying on the kernel to free the allocations on process exit was considered more important than reusable code.
a little puzzled. Where to find 1b22b8958cdea300f9a49ef7adb59de57cdc60b0
?Thanks @rillian
We call ogg_stream_init() in main() of framing.c, but no ogg_stream_clear() in corresponding. It will cause memory leak.