Commit 1b22b895 authored by willson-chen's avatar willson-chen Committed by Ralph Giles

Fix memory leak in test_framing

We call ogg_stream_init() in main() of framing.c, but no
ogg_stream_clear() in corresponding. It will cause memory leak.
Signed-off-by: Ralph Giles's avatarRalph Giles <giles@thaumas.net>
parent d7ac86c9
......@@ -2099,6 +2099,8 @@ int main(void){
}
}
}
ogg_stream_clear(&os_en);
ogg_stream_clear(&os_de);
return(0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment