From 1c14c3412ea1bac5d02be284103c153599044564 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 12 Jan 2013 16:27:55 +0100 Subject: dec/developer: Add Valgrind / Address Sanitizer to the patch checklist Reviewed-by: saste Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- doc/developer.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/developer.texi') diff --git a/doc/developer.texi b/doc/developer.texi index 7e4b12c528..a108da7adc 100644 --- a/doc/developer.texi +++ b/doc/developer.texi @@ -507,6 +507,9 @@ send a reminder by email. Your patch should eventually be dealt with. Make sure you check the return values of function and return appropriate error codes. Especially memory allocation functions like @code{av_malloc()} are notoriously left unchecked, which is a serious problem. +@item + Test your code with valgrind and or Address Sanitizer to ensure it's free + of leaks, out of array accesses, etc. @end enumerate @section Patch review process -- cgit v1.2.3