From cad9b053d52f62432dfd70e42e0240de77027cae Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 8 Jul 2014 13:24:25 -0400 Subject: os: Remove deprecated malloc/free wrappers Reviewed-by: Alex Deucher Signed-off-by: Adam Jackson --- doc/Xserver-spec.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/Xserver-spec.xml b/doc/Xserver-spec.xml index cd1a9d07a..4c344194d 100644 --- a/doc/Xserver-spec.xml +++ b/doc/Xserver-spec.xml @@ -1217,11 +1217,9 @@ library is contained in dix/dixfonts.c
Memory Management -Memory management is based on functions in the C runtime library. -Xalloc(), Xrealloc(), and Xfree() are deprecated aliases for malloc(), +Memory management is based on functions in the C runtime library, malloc(), realloc(), and free(), and you should simply call the C library functions -directly. Consult a C runtime library reference -manual for more details. +directly. Consult a C runtime library reference manual for more details. Treat memory allocation carefully in your implementation. Memory -- cgit v1.2.3