title: How to handle free() errors in C?
body: <p>Suppose that I have used a <code>free()</code> function to free a memory that,for many reasons, I'm not allowed to.
  How can I stop my C application from crashing and just generate an error and continue the execution? I don't have try-catch kind of provision here (like C++/java...). Is there any way to ignore this error and continue execution? </p>
  
  <p>If yes,</p>
  
  <ol>
  <li>How do you do that?</li>
  <li>More importantly, is it advisable to do so (continuing execution considering this memory error occurred)?</li>
  </ol>
  
  <p>Thank you</p>