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:
parent
d7ac86c97a
commit
1b22b8958c
@ -2099,6 +2099,8 @@ int main(void){
|
||||
}
|
||||
}
|
||||
}
|
||||
ogg_stream_clear(&os_en);
|
||||
ogg_stream_clear(&os_de);
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user