]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
alloca.3: Clarify that alloca(3)ted space is deallocated when the caller returns
authorAlejandro Colomar <alx@kernel.org>
Tue, 19 Nov 2024 12:17:27 +0000 (13:17 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 19 Nov 2024 13:58:37 +0000 (14:58 +0100)
Reported-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/alloca.3

index 0d079ac1d865459d4cc8a2d091b94c4eaa3d7dd5..0099500f9e9736f67b7a2834008928e1257b9b53 100644 (file)
@@ -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)