[vlc-commits] [Git][videolan/vlc][3.0.x] canvas: fix p_chain leak

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Oct 14 12:09:31 UTC 2025



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
d2493164 by Johannes Kauffmann at 2025-10-14T11:00:07+00:00
canvas: fix p_chain leak

(cherry picked from commit 4787f40122d16cc9385781903aee55deb525f6d7)

- - - - -


1 changed file:

- modules/video_filter/canvas.c


Changes:

=====================================
modules/video_filter/canvas.c
=====================================
@@ -333,6 +333,7 @@ static int Activate( vlc_object_t *p_this )
     if ( filter_chain_AppendConverter( p_sys->p_chain, NULL, NULL ) )
     {
         msg_Err( p_filter, "Could not append scaling filter" );
+        filter_chain_Delete( p_sys->p_chain );
         free( p_sys );
         return VLC_EGENERIC;
     }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d249316478bdf90b66599372dbfdecd30b88be11

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d249316478bdf90b66599372dbfdecd30b88be11
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list