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 <giles@thaumas.net>
This commit is contained in:
willson-chen 2019-07-31 23:23:45 +08:00 committed by Ralph Giles
parent d7ac86c97a
commit 1b22b8958c

View File

@ -2099,6 +2099,8 @@ int main(void){
}
}
}
ogg_stream_clear(&os_en);
ogg_stream_clear(&os_de);
return(0);
}