[x265] [PATCH] csvlog: free memory allocated by x265_param2string

Ashok Kumar Mishra ashok at multicorewareinc.com
Tue Mar 13 08:33:12 CET 2018


On Mon, Mar 12, 2018 at 12:46 AM, Ma0 <mateuszb at poczta.onet.pl> wrote:

> # 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);
>              }
>          }
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>


Pushed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180313/12d3e99e/attachment.html>


More information about the x265-devel mailing list