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

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


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Aug 26 21:52:34 2023 +0000| [5f8feddd6a09214816e8fd0e674df6fc5e33732d] | committer: Lynne

lavfi/testsrc_vulkan: fix memory leaks

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

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

diff --git a/libavfilter/vsrc_testsrc_vulkan.c b/libavfilter/vsrc_testsrc_vulkan.c
index 8485fa498d..8761c21dfd 100644
--- a/libavfilter/vsrc_testsrc_vulkan.c
+++ b/libavfilter/vsrc_testsrc_vulkan.c
@@ -189,8 +189,6 @@ static av_cold int init_filter(AVFilterContext *ctx, enum TestSrcVulkanMode mode
 
     s->initialized = 1;
 
-    return 0;
-
 fail:
     if (spv_opaque)
         spv->free_shader(spv, &spv_opaque);



More information about the ffmpeg-cvslog mailing list