title: memory leak in malloc?
body: <p>I've got the following faulty piece of code in C and I am wondering if there will be a memory leak or if there will be a pointer which is pointing to a free memory location.</p>
  
  <pre><code>int* p = (int*) malloc(sizeof(int));
  p = NULL;
  free(p);
  </code></pre>