title: Is freeing allocated memory needed when exiting a program in C
body: <p>If I allocated memory in my C program using <code>malloc</code> and now I want to exit, do I have to free the allocated memory, or can I assume that since my entire program terminates, it will be freed by the OS?</p>
  
  <p>I run in Linux environment.</p>