summaryrefslogtreecommitdiff
path: root/thirdparty/opus/opus_compare.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/opus/opus_compare.c')
-rw-r--r--thirdparty/opus/opus_compare.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/thirdparty/opus/opus_compare.c b/thirdparty/opus/opus_compare.c
index 06c67d752f..1956e08fa5 100644
--- a/thirdparty/opus/opus_compare.c
+++ b/thirdparty/opus/opus_compare.c
@@ -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){