Commit 4aad316b authored by Diego Biurrun's avatar Diego Biurrun

doc: Remind devs to check return values, especially for malloc() et al

parent edf35d83
...@@ -488,6 +488,10 @@ send a reminder by email. Your patch should eventually be dealt with. ...@@ -488,6 +488,10 @@ send a reminder by email. Your patch should eventually be dealt with.
@item @item
Lines with similar content should be aligned vertically when doing so Lines with similar content should be aligned vertically when doing so
improves readability. improves readability.
@item
Make sure you check the return values of function and return appropriate
error codes. Especially memory allocation functions like @code{malloc()}
are notoriously left unchecked, which is a serious problem.
@end enumerate @end enumerate
@section Patch review process @section Patch review process
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment