xiph / ogg

Reference implementation of the Ogg media container
BSD 3-Clause "New" or "Revised" License
345 stars 168 forks source link

Fix memory leak in test_framing #56

Closed willson-chen closed 5 years ago

willson-chen commented 5 years ago

oy.data memory is alloc by ogg_sync_buffer(), but does not calling free() before main() exit. After fixing it, I test test_framing by valgrind. And no more memory leak in test_framing and test_bitwise right now.

rillian commented 5 years ago

Thanks. Merged as 689371fdc2ebb3bc068464608916db6e5a104228.