summaryrefslogtreecommitdiff
path: root/doc/developer.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/developer.texi')
-rw-r--r--doc/developer.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/developer.texi b/doc/developer.texi
index 2e25f5fb0d..d36f53f191 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -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