[x265] [PATCH] csvlog: free memory allocated by x265_param2string
Ma0
mateuszb at poczta.onet.pl
Sun Mar 11 20:16:10 CET 2018
# HG changeset patch
# User Ma0 <mateuszb at poczta.onet.pl>
# Date 1520794909 -3600
# Sun Mar 11 20:01:49 2018 +0100
# Node ID 7af1f634a849ba223bf016d1f4bb2d043457e1d2
# Parent 98e48e8dd6ab5747ed5dd9eb03e344054d659f63
csvlog: free memory allocated by x265_param2string
Thanks Xinyue Lu for pointing this
diff -r 98e48e8dd6ab -r 7af1f634a849 source/encoder/api.cpp
--- a/source/encoder/api.cpp Fri Mar 09 20:39:57 2018 +0530
+++ b/source/encoder/api.cpp Sun Mar 11 20:01:49 2018 +0100
@@ -907,6 +907,7 @@
fputc('"', p->csvfpt);
fputs(opts, p->csvfpt);
fputc('"', p->csvfpt);
+ X265_FREE(opts);
}
}
More information about the x265-devel
mailing list