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

Git pushed a commit to branch master
in repository ffmpeg.

commit ac4d50cb26225aa1890f12a80af0968d8eac26d5
Author:     Martin Storsjö <[email protected]>
AuthorDate: Mon Mar 16 12:40:32 2026 +0200
Commit:     Martin Storsjö <[email protected]>
CommitDate: Mon Mar 16 20:31:12 2026 +0000

    swscale/ops_chain: Make ff_op_priv_free clear the freed pointer
---
 libswscale/ops_chain.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/ops_chain.h b/libswscale/ops_chain.h
index 9009936f91..b88d647cc9 100644
--- a/libswscale/ops_chain.h
+++ b/libswscale/ops_chain.h
@@ -130,7 +130,7 @@ typedef struct SwsOpEntry {
 
 static inline void ff_op_priv_free(SwsOpPriv *priv)
 {
-    av_free(priv->ptr);
+    av_freep(&priv->ptr);
 }
 
 typedef struct SwsOpTable {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to