[x265] [PATCH] Multiview memory leak fix

Pavan Tarun Chakka Venkata pavan.tarun at multicorewareinc.com
Thu Nov 21 10:11:47 UTC 2024


>From f5d22655fffcba62a96ce9663f596932953c498c Mon Sep 17 00:00:00 2001
From: Pavan Tarun <pavan.tarun at multicorewareinc.com>
Date: Thu, 14 Nov 2024 12:17:53 +0530
Subject: [PATCH] Multiview memory leak fix

---
 source/x265cli.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/source/x265cli.cpp b/source/x265cli.cpp
index a7d5f492a..5f1b1b56a 100755
--- a/source/x265cli.cpp
+++ b/source/x265cli.cpp
@@ -1480,6 +1480,7 @@ namespace X265_NS {
             free(args);
             exit(1);
         }
+        free(args);
         return 1;
     }

-- 
2.41.0.windows.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20241121/053f19cb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Multiview-memory-leak-fix.patch
Type: application/octet-stream
Size: 577 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20241121/053f19cb/attachment.obj>


More information about the x265-devel mailing list