From: Alejandro Colomar Date: Tue, 19 Nov 2024 12:17:27 +0000 (+0100) Subject: alloca.3: Clarify that alloca(3)ted space is deallocated when the caller returns X-Git-Tag: man-pages-6.10~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b189efefd233d88bbea973c44167c0ec74d3bfd6;p=thirdparty%2Fman-pages.git alloca.3: Clarify that alloca(3)ted space is deallocated when the caller returns Reported-by: Pali Rohár Signed-off-by: Alejandro Colomar --- diff --git a/man/man3/alloca.3 b/man/man3/alloca.3 index 0d079ac1d..0099500f9 100644 --- a/man/man3/alloca.3 +++ b/man/man3/alloca.3 @@ -87,7 +87,8 @@ The space allocated by is .I not automatically deallocated if the pointer that refers to it -simply goes out of scope. +simply goes out of scope; +it is automatically deallocated when the caller function returns. .P Do not attempt to .BR free (3)