[FFmpeg-cvslog] lavfi/chromaber_vulkan: fix memory leaks

Lynne git at videolan.org
Mon Aug 28 23:33:07 EEST 2023


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Aug 26 21:51:55 2023 +0000| [9944e96c61739514ffa99f0e9229b342b3d5ff45] | committer: Lynne

lavfi/chromaber_vulkan: fix memory leaks

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9944e96c61739514ffa99f0e9229b342b3d5ff45
---

 libavfilter/vf_chromaber_vulkan.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/vf_chromaber_vulkan.c b/libavfilter/vf_chromaber_vulkan.c
index 8b196f149e..0b96a7400f 100644
--- a/libavfilter/vf_chromaber_vulkan.c
+++ b/libavfilter/vf_chromaber_vulkan.c
@@ -156,8 +156,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
 
     s->initialized = 1;
 
-    return 0;
-
 fail:
     if (spv_opaque)
         spv->free_shader(spv, &spv_opaque);



More information about the ffmpeg-cvslog mailing list