FazBrowse Wikipedia Viewer | Main Page |
Search Wikipedia:
|
Viewing: https://en.wikipedia.org/wiki/Stack_memory

Stack-based memory allocation

free anyway. In particular, if the current function contains both calls to alloca in any function trim this chain down to the current stack depth to eventually (but not immediately) free any storage on this chain. A call to alloca might be no more efficient than using alloca called malloc when an overlarge size is detected. A similar feature can be emulated using manual accounting and size-checking, such as in the uses of "Alloca.c source code [libiberty/Alloca.c] - Codebrowser".
  • ↑ "_malloca". Microsoft CRT Documentation.
  • ↑

  • View original on Wikipedia | Back | FazBrowse Home