mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
doc: Remind devs to check return values, especially for malloc() et al
This commit is contained in:
parent
edf35d8342
commit
4aad316bff
@ -488,6 +488,10 @@ send a reminder by email. Your patch should eventually be dealt with.
|
||||
@item
|
||||
Lines with similar content should be aligned vertically when doing so
|
||||
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
|
||||
|
||||
@section Patch review process
|
||||
|
Loading…
Reference in New Issue
Block a user