[x265] [PATCH] Fix double free in xones
Snehaa Giridharan
snehaa at multicorewareinc.com
Fri Jun 14 17:01:01 CEST 2019
# HG changeset patch
# User Snehaa <snehaa at multicorewareinc.com>
# Date 1560508044 -19800
# Fri Jun 14 15:57:24 2019 +0530
# Branch Release_3.1
# Node ID 742e364114bfb73a0540613ba91f7a7f37a96d77
# Parent 10decf67c0772f80fac41af8cffe8a17722402cc
Fix double free in zones
diff -r 10decf67c077 -r 742e364114bf source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp Fri Jun 07 18:25:06 2019 +0530
+++ b/source/encoder/ratecontrol.cpp Fri Jun 14 15:57:24 2019 +0530
@@ -2973,8 +2973,7 @@
X265_FREE(m_encOrder);
for (int i = 0; i < 2; i++)
X265_FREE(m_cuTreeStats.qpBuffer[i]);
-
- X265_FREE(m_param->rc.zones);
+
}
void RateControl::splitdeltaPOC(char deltapoc[], RateControlEntry *rce)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190614/7ecf0751/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix double free in zones.patch
Type: application/x-patch
Size: 732 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190614/7ecf0751/attachment-0001.bin>
More information about the x265-devel
mailing list