[FFmpeg-cvslog] sws/tests/pixdesc_query: fix use of free() instead of av_free()

Clément Bœsch git at videolan.org
Sun Jul 30 21:49:51 EEST 2017


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Jul 30 20:48:04 2017 +0200| [797c232ef84d3886a25270cef8b630caf5a491cc] | committer: Clément Bœsch

sws/tests/pixdesc_query: fix use of free() instead of av_free()

Fix CID 1415949

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

 libswscale/tests/pixdesc_query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/tests/pixdesc_query.c b/libswscale/tests/pixdesc_query.c
index 417f481cd0..a5585c4314 100644
--- a/libswscale/tests/pixdesc_query.c
+++ b/libswscale/tests/pixdesc_query.c
@@ -83,7 +83,7 @@ int main(void)
                 printf("  %s\n", pix_fmts[j]);
             printf("\n");
 
-            free(pix_fmts);
+            av_free(pix_fmts);
         }
     }
     return 0;



More information about the ffmpeg-cvslog mailing list