Skip to content
Snippets Groups Projects
Verified Commit 73808cf8 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fix memory leaks in opus_compare.c

This makes it possible to run the testvectors with asan enabled.
parent 4507637c
No related branches found
No related tags found
No related merge requests found
......@@ -363,6 +363,9 @@ int main(int _argc,const char **_argv){
Ef*=Ef;
err+=Ef*Ef;
}
free(xb);
free(X);
free(Y);
err=pow(err/nframes,1.0/16);
Q=100*(1-0.5*log(1+err)/log(1.13));
if(Q<0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment