[x265] Allows for Unicode filenames in Windows (output and stat files).
Mateusz
mateuszb at poczta.onet.pl
Tue May 3 12:13:49 CEST 2016
Hi,
Thanks for info. Could you test if attached patch helps?
W dniu 2016-05-03 o 07:57, Mahesh Pittala pisze:
> Hi,
>
> Visual Leak Detector found memory leak with this patch,
> seems memory is not freed up in function get_argv_utf8(). I could
> reproduce with Visual Studio 12(vc11) but not with Visual Studio
> 13(vc12), please can you check it.
>
> encoder log - http://pastie.org/10821782
> leak - http://pastie.org/10821781
>
> On Thu, Apr 28, 2016 at 1:45 PM, Mateusz <mateuszb at poczta.onet.pl
> <mailto:mateuszb at poczta.onet.pl>> wrote:
>
> Due to problem with breaking lines I sent this patch as attachment.
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org <mailto:x265-devel at videolan.org>
> https://mailman.videolan.org/listinfo/x265-devel
>
>
>
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160503/b80d6b4d/attachment.html>
-------------- next part --------------
diff -r 00ea3784bd36 source/x265.cpp
--- a/source/x265.cpp Thu Apr 28 09:59:30 2016 +0200
+++ b/source/x265.cpp Tue May 03 12:12:12 2016 +0200
@@ -779,6 +779,10 @@
SetConsoleTitle(orgConsoleTitle);
SetThreadExecutionState(ES_CONTINUOUS);
+#if _WIN32
+ free(argv);
+#endif
+
#if HAVE_VLD
assert(VLDReportLeaks() == 0);
#endif
More information about the x265-devel
mailing list