This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 5191917736cb9ce91413a8213a373297829c482a
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Wed Sep 23 17:21:29 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Tue Sep 29 22:39:11 2026 +0200

    swresample/tests/swresample: free the contexts
    
    The two contexts and the layouts were never released, which trips leak
    checking once the test runs under FATE.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 libswresample/tests/swresample.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libswresample/tests/swresample.c b/libswresample/tests/swresample.c
index 7a90ad93df..227203a4d6 100644
--- a/libswresample/tests/swresample.c
+++ b/libswresample/tests/swresample.c
@@ -400,5 +400,9 @@ int main(int argc, char **argv){
         fprintf(stderr, "\n");
     }
 
+    swr_free(&forw_ctx);
+    swr_free(&backw_ctx);
+    av_channel_layout_uninit(&in_ch_layout);
+    av_channel_layout_uninit(&out_ch_layout);
     return 0;
 }

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to